Skip to main content
gamedev.net
🔒 Locked

Transforms...

Started by Xelius 4 replies 500+ views
Original Post
Xelius
Xelius
Well, I''m still sitting at work (11:33PM EST) and I was reading a few things on DirectX and I''m puzzled. I think I know the answer but I figured I might as well ask and save myself some time. (No, this isn''t work related, but it''s better than sitting and waiting for reconfiguration utilities that take 10 minutes to run to finish ;-)) If I am using Direct3D and have loaded two objects, let''s say a cube and a pyramid (because I''m real creative) how do I move only one? The world transformation would move both objects in the way that my world transformation matrix specifies, correct? Would I simply have to define another matrix that gets used to transform each object seperately in order to move them independently? Please let me know. Thanks :-) ------------------- "Pointer?????" -Anonymous -=Xelius=-
-------------------"Pointer?" -Anonymous-=Xelius=-
_stalker
_stalker
Yes, if you want to move any object in your scene you have to build a local transformation matrix just for that object.
Xelius
Xelius
Oh okay :-)
Thanks for your help!
-------------------"Pointer?" -Anonymous-=Xelius=-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.