Jump to content
  • Advertisement

Archived

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

Sincity328

RELATIVE POSITION DX8

This topic is 5446 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 exactley 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.

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!