Revolute Joint properties

cafeole

19-04-2010 09:30:57

Hi, I have done a revolute joint to simulate interaction between foot, toes and the floor.

[attachment=0]fotopies.JPG[/attachment]

I have got it but I want to change rigidity of moving the revolute joint to do it more realistic, how could I do that?
I have tried to change restitution parameter but it doesn't work as expected. Thanks!

cafeole

04-05-2010 14:27:08

I think that I am near to find the solution: with NxOgre::JointLimitPairDescription I can assign RevoluteJoint limits:


NxOgre::JointLimitPairDescription jointLimitRightShinbone;
jointLimitRightShinbone.second.mValue = 2.1*Ogre::Math::PI;
jointLimitRightShinbone.first.mValue = 1.85*Ogre::Math::PI;
rjRightShinbone->setLimits(jointLimitRightShinbone);


PROBLEM: It seems that once an initial limits have stablished, they can't change on time using NxOgre::JointLimitPairDescription...

any idea? Thanks :)