Verlet integration : TConstraint ?

BlitzMax Forums/MiniB3D Module/Verlet integration : TConstraint ?

Flanker(Posted April) [#1]
Hello, I'm playing with verlet physics and I've been surprised to see that TConstraint is already a Type in OpenB3D. However, I can't find any example of it, or maybe it is unrelated with verlet physics ? If there is something included with OpenB3D I'd like to test it and compare to what I wrote so far :




markcw(Posted April) [#2]
I tried to get a demo of the constraints system for openb3d but I couldn't get it working. Angros explained how it works at post 160 in Part 3 but even after that the 'kart' object I made collapsed after a while, so I gave up.


Flanker(Posted April) [#3]
Thanks, I've tested your little demo, it seems to be verlet-like physics. If so there must be a parameter to control the precision of constraints calculation.


markcw(Posted April) [#4]
I don't know anything about verlet physics really, but the only parameter I know of is the distance one for CreateConstraint.


angros47(Posted April) [#5]
Precision is hard coded in the library, actually