Hi all,
I've created a CompoundBody adding to it some Entity, and then i make it non dynamic via CompoundBody.makeNonDynamic().
What i want to do is to apply some rotation/translation to the entire CompoundBody. I tried with CompoundBody.Rotate and some other stuff but not works, only if the CompoundBody is dynamic. There's a way to do this with non dynamic objects?
Thanks for helps!
Fax3D
Move non dynamic entity
Re: Move non dynamic entity
This is most likely due to the object's inactivity. Kinematic objects will fall asleep; a sleeping compound object will not propagate its own rotation to its children since no updates are occurring. If you call (CompoundBody).activate() when you perform a rotation or just set the body's isAlwaysActive flag to true during initialization it should work.
Re: Move non dynamic entity
Thanks a lot Norbo, now it works like i should expect!
Fax3D
Fax3D