Quote Originally Posted by fire.tiger
thanks a lot. it works fine now.

btw. very very nice piece of code...and dynamics simulation look
very nice.

btw2. do you think it would be hard to translate 2d algorithm to 3d ??
using opengl...
nice that you find it useful, i paid 40 € to translate it to pascal when i thought my game will use it, but i switched to newton physics engine later

i'm not sure if it would be hard to make it work in 3D, but i would recommend you look into Newton dynamics for 3D simulation first, it is very nice - www.physicsengine.com .