1
Vote

WorldPosition's scale being reset

description

Hello. As my model grows in real time, I want to update the scaling of the rigidbody. So I set the rigid body's world position to have a scale of, in this example, 10.0 for all axis. However, after I call StepSimulation, the translation is still correct, but the scale is reset to 1.0f. Is this the intended behavior of BulletX or a bug? I am hoping this is the correct C# forum.

comments

arilou wrote Dec 2, 2007 at 3:09 PM

Instead of setting the scale component of the transformation matrix, apply it to body.CollisionShape property. It works for me that way...

wrote Feb 14, 2013 at 3:57 AM