When using SetFixedRotation, should I call body.ResetMassData() or something similar, because my body's rotation is not fixed after calling the function. If I trace body.IsFixedRotation() it returns true, but that seems to mean very little to the solver. I have to reset the body's rotation every frame to maintain the angle I want.
Creating a body with a fixed rotation defined in the bodydef works 100%, it's just when one sets the fixed rotation after a while tat it doesn't work.
Thanks for any help guys.
Creating a body with a fixed rotation defined in the bodydef works 100%, it's just when one sets the fixed rotation after a while tat it doesn't work.
Thanks for any help guys.