Jump to content
  • Advertisement


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


Matrix question

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

Hey there. i have a question. i made a little robot arm program, pretty simple with a few joints and fingers and i wanna add some collision detection so that i could lift objects with it. so what i need is to get the object coordinates from the modelview matrix. obviously i know how to isolate the model matrix and get the matrix in2 a float array. my question is this: how do i convert the matrix data in2 a point in 3d space? i think that i have to multiply a vector by the matrix but is it 0,0,0,1 ? if so, will it not stay 0,0,0,1 anyway? i need your help guys...

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!