Hi everyone, usually I doesn`t post at forums etc, but I stuck with problem and still can`t find solution. I have read relevant threads at UnityAnswers, at forum, but nothing seems to work.
I have a scene with a hollow parallelepiped and a prefab with 3rd person controller. The challange is to make player prefab able to change walking plane from "floor" to "wall" if he close enought to angle between, like a roach, for example.
It is important, camera must rotate accordingly, so we can see "back" of the player model. Another nuance: there are another rigid bodies in the scene, affected by gravity, so I would not want to rotate all scene.
So, I decide to use trigger collider, but nothing seems to work.
Could you show me an example of code, if it possible, with comments, so I can better understand Unity architecture? Due to my low level of JavaScript it is easy to me become confused what to whom to assign.