Get the rotation of a collided object [3D]?
I'm using a character controller, and i want to know if the player is currently standing on something so it can jump, but i don't want to use tags or ground layers to every object that the player can stand on, becouse i want him to stand on anything always that object has a sertain rotation. So, i want to get the component rotation of the object the player is currently standing on, is there any function or something that already does this?
Your answer
![](https://koobas.hobune.stream/wayback/20220612232845im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Keep position of CharacterController relative to rotating platform 0 Answers
Transform rotation with an ease 0 Answers
i'm using a code to make my cube walk with character controller but when i play the cube spins. 0 Answers
i am using a code to make my cube walk with character controller ,but when i play the cube spins. 0 Answers
Rotate transform to match another, but not past 180° 0 Answers