How to turn a revolute joint in a C++ script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've got a a joint that I've picked up from a JointsList...
Ptr<Joint> ThisJoint = JointsList->item(0);
and I do know that it's a revolute joint, although I only know that because I also check the NAME that I gave to it. So my first question is how can I determine the actual "type" of joint from my ThisJoint object.
But more importantly, once I have hold of the revolute joint,how do I, using a C++ script, cause the joint to actually rotate? What method do I call? And do I have to call something extra in order to get the image to update so I can actually SEE the rotation occurring?