SpiderPig Posted May 2 Share Posted May 2 I believe we need a setter and getter for the pin, like for the plane joint. Other wise the only way to change this is to delete and reconstruct the plane joint. Joint::SetPin() Joint::GetPin() Quote Link to comment Share on other sites More sharing options...
Josh Posted May 2 Share Posted May 2 Wouldn't you want to just rotate the parent? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted May 2 Author Share Posted May 2 ...maybe. But I think it would be easier just to change the pin instead of setting up multiple joints. Pretty sure newton has the ability to change the pin. Quote Link to comment Share on other sites More sharing options...
Josh Posted May 2 Share Posted May 2 I don't think it does. I am looking in dCustomHinge.h and I don't see any method to set the pin once it is created. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted May 2 Author Share Posted May 2 I'm not sure how you've implemented the plane joint, but up vector has a function for that. Which sounds like a plane joint to me... http://www.newtondynamics.com/wiki/index.php/NewtonUpVectorSetPin Quote Link to comment Share on other sites More sharing options...
Josh Posted May 2 Share Posted May 2 I am using the dCustomPlane class. I think the UpVector joint only controls rotation, so it's basically a more limited version of the kinematic joint. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted May 2 Author Share Posted May 2 Ah okay. I guess I can use multiple joints if there's no other way. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.