Jump to content

[SOLVED] JointHinge goes elastic


Recommended Posts

Hi,

 

I have created a hinge joint, and defined its parameters:

 

nozzle_joint.setLinearSoftness(0.0f);
nozzle_joint.setAngularSoftness(0.0f);
nozzle_joint.setLinearRestitution(1.0f);
nozzle_joint.setAngularRestitution(1.0f);

I assume these parameters should set the joint as a very rigid, rotational only joint. But the result is as follows: http://www.youtube.com/watch?v=_RkIihusyAc

 

What am I missing here?

Link to comment
  • 2 weeks later...

Still no idea? I did use a workaround solution defining the nozzle as a child object of car, and moving it kinematically. But it would be nice to be able to use hinge joint.

Link to comment

Hi. Sorry for late reply.

 

Actually, setting a linear restitution as 1.0f to joint should solve this problem. Unfortunately, I can't reproduce this case in my sample. Can you send your world sample?

Thanks!

Link to comment
×
×
  • Create New...