Skip to main content
gamedev.net
🔒 Locked

World - View

Started by steg 1 reply 200+ views
Original Post
steg
steg
Hi, Could someone please clarify, I have a 3d world it which I have placed various objects (pyramids, cubes etc..) each has their own x,y,z world coordinates. I walk around this world by updating my camera which incorporates yaw,roll,pitch etc..Now, if I want a certain object say a spaceship to move around this world, I take it I just modify it''s x,y,z world coordinate ? Kind Reg''ds, sTeVe
If it isn't working, take a bath, have a think and try again...
S1CA
S1CA
You modify the x,y,z TRANSLATION part of the WORLD matrix for the object to move that object.

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site
steg
steg
Thanks, that''s what I do, just wanted to know it was correct.

sTeVe
If it isn't working, take a bath, have a think and try again...

Topic Locked

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

Sign in to reply to this topic.