Archived

This topic is now archived and is closed to further replies.

billybob

calculating the location of a tire...

Recommended Posts

i need to be able to find the location of a tire relative to a rotated car. it can be at any angle, because the terrain is uneven. i have the center of rotation, and the x, y, z coords of the tire around that unrotated . how would i get the location of the tires after the car was rotated?

Share this post


Link to post
Share on other sites
Hey,


If your using rotation matrices to rotate the car or actually any method just apply its rotation to the wheels possition.

ie:

Matrix m;
m.Rotate(whatever);
m.applytoallcarparts();
m.ApplytoVector(WheelPossition);

?



Share this post


Link to post
Share on other sites