How to rotate the object collider with the object?
So to elaborate, i'm making a 3 dimensional first person game where the player can rotate in any direction, and whatever the down direction from there is the new floor so they fall in that direction. But i'm having a problem where the direction you start facing is fine, it works how i want it to, but if i jump onto a wall (and in doing so rotate the character) then i fall through the (new) ground, and from what i can see there is the green mesh of the collider that is still facing in the original starting direction. Just want to add its a capsule and i'm talking about the actual object collider that's built into objects that keep them from passing through other objects. Not the one that detects collisions.
Do the walls properly block your movement until your character/gravity rotates? Do the wall colliders have the appropriate layers for collision?
Could you add more info/some pictures?
Your answer
![](https://koobas.hobune.stream/wayback/20220613010650im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Get the rotation of a collided object [3D]? 0 Answers
2D Top Down, Enemy facing player slow rotation issue. Vector gets messed up after collision. 3 Answers
Freeze rotation of just the box collider component 0 Answers
Rigged non-human mesh animating sideways even AFTER rotation correction in Blender 0 Answers
Offset Box Colliders 0 Answers