cem.orsel Posted July 15, 2014 Share Posted July 15, 2014 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
cem.orsel Posted July 24, 2014 Author Share Posted July 24, 2014 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
azagniy Posted July 29, 2014 Share Posted July 29, 2014 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
cem.orsel Posted July 31, 2014 Author Share Posted July 31, 2014 Hi, this is my whole project data folder: https://www.dropbox....nge_problem.rar Thanks. Link to comment
silent Posted August 1, 2014 Share Posted August 1, 2014 Hi, We still investigating this case. We can't reproduce such behavior when joints are created manually in Editor. This behavior only appears when joints created from code. Could you please try to use other joint type (for example, Cylindrical)? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
cem.orsel Posted August 1, 2014 Author Share Posted August 1, 2014 Well the JointSuspension of wheels, for instance, are also created from the script, and they work fine. This sounds odd. Link to comment
alterego Posted August 5, 2014 Share Posted August 5, 2014 nozzle_bodyrigid.MaxLinearVelocity should be equal to or greater than car_bodyrigid.MaxLinearVelocity. Link to comment
cem.orsel Posted August 6, 2014 Author Share Posted August 6, 2014 That solved it, thank you very much. Link to comment
Recommended Posts