Page 1 of 1
How to move a activeshape without body
Posted: Thu Jun 18, 2009 9:30 pm
by myandroid
How to move a activeshape without body?
who know how to do,please tell me
thanks in advance
Re: How to move a activeshape without body
Posted: Thu Jun 18, 2009 10:59 pm
by slembcke
You can't. What is it that you want to do exactly?
Re: How to move a activeshape without body
Posted: Fri Jun 19, 2009 12:39 am
by myandroid
i want to make a game about basketball.
i want to control ball under with gravith, so i add gravity to Space,
but i want basketry to move left to right without gravity control,so i move the basketry as Sprite, i add some shape to sumalate the basketry and it isn't linked with the basketry, i want to move the shape just like the basketry move from left to right
Re: How to move a activeshape without body
Posted: Fri Jun 19, 2009 5:16 am
by patrickC
you still need to attach the baskethoop shape to a cpbody, but then don't add that body to the space.
This way you can move the body manually, but it won't get simulated and won't be affected by gravity.
cheers
Re: How to move a activeshape without body
Posted: Sun Jun 21, 2009 8:59 pm
by myandroid
thanks,i take a try