setWorldTransform imparts angular momentum?
-
- Posts: 2
- Joined: Tue Mar 29, 2011 9:53 pm
setWorldTransform imparts angular momentum?
When I use SetWorldTransform to set the orientation of a RigidBody, the body starts to spin very fast instead of just changing to the specified angles. I guessed this might be due to the physics engine interpreting the sudden change in angle as a physical change, and therefore giving it large angular momentum. Is this the case? And if so what is the proper way to manually readjust an object's orientation (or position) without imparting momentum?
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: setWorldTransform imparts angular momentum?
I've not seen such behaviour before. Can you easily reproduce this in any of the Bullet demos?
Thanks,
Erwin
Thanks,
Erwin
-
- Posts: 3
- Joined: Wed Jul 27, 2011 12:17 pm
Re: setWorldTransform imparts angular momentum?
I've never faced such a problem as well
interested in the decidion just for a case
interested in the decidion just for a case