• Advertisement

Archived

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

calculating the location of a tire...

This topic is 5687 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
i''m using directx''s matrixes to rotate the car, but i don''t know how to get coordinates back from it.

Share this post


Link to post
Share on other sites

  • Advertisement