- #1
shipiz
- 5
- 0
Hi everyone, i hope this is the right place to post this.
Anyway, I'm creating a game, and I'm trying to calculate and project future car movement path based on steering angle of the wheels. By using equation:
r = wheelbase / sin(steeringAngle)
I'm able to calculate turning radius. But the problem is finding the center of the circle where vehicle will turn.
I can calculate approximate circle center by getting current direction vector and offset by radius. But it still misses by some part. Also note that vehicle is not moving when calculations are executed. Disregard all basic physics laws for this. :)
Thanks in advance
Anyway, I'm creating a game, and I'm trying to calculate and project future car movement path based on steering angle of the wheels. By using equation:
r = wheelbase / sin(steeringAngle)
I'm able to calculate turning radius. But the problem is finding the center of the circle where vehicle will turn.
I can calculate approximate circle center by getting current direction vector and offset by radius. But it still misses by some part. Also note that vehicle is not moving when calculations are executed. Disregard all basic physics laws for this. :)
Thanks in advance
Last edited: