I have tried to implement a pendulum with the Novodex 2.2 SDK, but I have a strange instability problem.
I have picked the Lesson 301 (the Rope) and made the following modification:
1) The top piece of the rope is made kinematic (so that the rope don't falldown anymore).
2) I have increased the density of the last piece of the rope (to avoid to append other objects, for the moment, keeping the modification minimal).
3) I have increased the force strength.
The result is strange: every joint extend itself (like if it was a spring). I have replace the CreateRopeSphericalJoint with the simpler CreateSphericalJoint, but nothing change.
Moreover, when you try to apply the force the simulation become totally unstable. All the joints become crazy with no reason. If you sensibly decrease the density of the last piece of rope (making it much more light), the situation become better, but the program still don't be stable.
The rope, initially, stretch itself as if it are elastic. But there no spring at all.
I have tried to setup the joint projection. This make the stretching less evident, but the simulation still doesn't work.
The Novodex come with a demo "Breakable Joints" that show 3 pendulums. Whatever force you apply to the pendulum don't make the simulation unstable like mine. There are no source for this demo, so I don't understant what kinda of joints are used and how they are setup.
I don't understand this problem. How I can get rid of this instability? Why the rope exposes this "spring" behaviour? :sad:
It seems like that the spherical joint is stretched. Please help me. Thanks in advance.
P.S.: I have uploaded the modified version at the following address:
http://rocjoe.freefronthost.com/Lesson301.zip (about 32 Kb).
It actually contains only the Lesson301.exe and require the Novodex engine installed (yes, with no virus, trojan, spyware, adware, ecc...).
Take a look of this strange behaviour.