- Home /
How do i keep the box collider from rotating?
I am using Prime31s char controller temporarily, but for some reason when I jump against a wall and turn, the box collider rotates and gets stuck in the wall. It then starts floating up the wall. This is very annoying and I have no clue why it is doing so.
Answer by Eba1337 · Sep 29, 2017 at 09:25 PM
If you are using a RigidBody there's a section called freeze rotation or something maybe under constrains?
You are correct @Eba1337 Go on the rigidbody, constraints, fix rotation. This stops it from rotating.
You say you are using it temporarily so firstly in your game get a rigidbody and stuff up and running then progress. Never try to put detail first. It will just become too confusing.
Your answer
![](https://koobas.hobune.stream/wayback/20220612135934im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
CharacterController "breaks" collision, goes haywire 2 Answers
[2D] CharacterController rotation 0 Answers
Top-Down Movement in Unity 1 Answer
Pysics not working as expected 1 Answer