lets say i have two objects, A and B. A is moveable and B is stationary, an obstacle in A's path. how can i make it so that when A hits B, A stops and cant go forward? it can move back though so it can change direction and avoid B.
since object B is an obstacle i will need lots of them. how can i change the rotation of some of them while keeping the rotation of the rest to default?

