Hey.
Im having some issues concerning my approach to this problem.
Here is the case:
I have a object (a car) this has wheel colliders. Now I want to control this car with rayCast (RTS Game) So when I select the car I and i click at a point at the map I would like it to go there steering with setting the steerangle to the calculation. I have got the car to move, but the calculation of the angle between the car and rayCast hit has got me stuck... Anybody any good ideas?
↧