- Home /
Rigidbody with FreezeRotation on x,y,z enabled still rotates whenever in contact with colliders
Rigidbody with FreezeRotation on x,y,z enabled still rotates whenever in contact with colliders So, I have my character which is a Rigidbody with Freeze Rotation on X, Y and Z. It also has a Capsule Collider on it, it's moving through Joystick for mobile purposes and whenever I move him on a straight surface it's all good, the capsule collider doesn't flip over and acts accordingly. As soon as I get in touch with an inclined surface (with collider on it of course) it adapts and rotate in order to stick to the surface perpendicular, as soon as I "throw" him off the surface (so it starts flying for a bit) the collider stays flipped. Though whenever it hits the ground goes back to a straight position:
Images for reference Straight https://i.imgur.com/Kv6SRDd.png
Inclined surface: https://i.imgur.com/HbYAiNy.png
mid-air: https://i.imgur.com/uY0eeCV.png
Your answer
Follow this Question
Related Questions
How can I drag an object with touch on X and Z axis without disrupting the gravity of the rigidbody? 0 Answers
The script does not work the same as it works for the head(main) 1 Answer
Prevent rigidbody with hinge joint from slowing down 1 Answer
How to add gravity without a rigidbody 2 Answers
3d Gravitate Only when player is near?(No Gravitate from afar) 1 Answer