Jump to content
  • Advertisement
Sign in to follow this  

Object Position

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

[font="Times New Roman"]Hello friends,[/font]
[font="Times New Roman"] [/font]
[font="Times New Roman"]I have made a robotic upper arm with three cylindrical segments namely L1(Upper Arm), L2(Fore Arm) and L3(hand). [/font]
[font="Times New Roman"]Please have a look at the code attached.[/font]
[font="Times New Roman"] [/font]
[font="Times New Roman"]I want to use [color="#333333"]glGetDoublev (GL_MODELVIEW_MATRIX, MVmatrix); to get the end effector position i.e hand Position after the translations and rotations.[/font]
[font="Times New Roman"][color="#333333"]how can i do that please?? for the three segments. do i have to use three separate [color="#333333"]MVmatrix[16] for each segment?? [/font]
[font="Times New Roman"] [/font]
[font="Times New Roman"][color="#333333"]thanks[attachment=1616:robot01.txt][/font]

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!