Jump to content
  • Advertisement

Archived

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

Sincity328

RELATIVE position in DX8

This topic is 5361 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 have a question with finding the position of a point in relationship to an object; instead of world space. I am familiar with matrices but i can''t figure out what exactly needs to be done. I have the following Position of object Direction object is facing (vector) Position of point I need to find Position of point based on the coordinate system of the object (relative position) ex. point is (0,0,0) object is (0,0,10)&facing (-1,0,0) the point is theirfore at (-10,0,0) relative to the object. but how is this determined? I know their is a simple solution but for the moment it is beyond me any help is appreciated. Thanks, Maurice

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!