I'm trying to lock the angular movement of a body to zero degrees so it's situated point straight up. At the beginning of each frame I set the angular velocity to zero and set the angle to zero after the world update. I've also tried setting the angle to zero before world update and both. No matter what I try when my body collides with something it still turn a little. It will straighten back up after the collision is over and the momentum is lost.
Is there a way to lock the angle permanently ?
Posts that don't fit into other categories.
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest