Jump to content
  • Advertisement

Archived

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

TheBigGalar

Translating/Rotating multiple meshes in Dx8.1

This topic is 5689 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

Ciao. How does one move/rotate multiple objects. All the SDK examples only either move/rotate one object, or move the camera and reset the world transform. I am trying to move/rotate (i) The player''s car (external view) (ii) Other AI cars (iii) The track I presume I need to assign a trans/rotate matrix to each object and update each frame, but how can I link the matrix to the mesh? Help, please.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
quote:
I presume I need to assign a trans/rotate matrix to each object and update each frame, but how can I link the matrix to the mesh?

uhmm, you have a mesh class? maybe as a variable of that class? then multiply the mesh''s matrix with the world matrix prior to rendering?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!