Hi.
Im trying to make a rope. It seems that the joints between each other
works well but the "top" joint isnt attached to the world.
Heres how I create the joint:
#create the joint
j = ode.BallJoint(world)
if parent == None:
j.attach(self.body, ode.environment)
if not parent == None:
j.attach(self.body, parent.body)
j.setAnchor((attachPoint[0],attachPoint[1],0))
If no parent is submitted it attaches itself to the environment instead.
You can find the full source here: http://rafb.net/p/3OAuKo49.html
In that code I use a vector class, if you want to look at it or try to
run the program, you can find the source for the class here:
http://rafb.net/p/u1LwRm51.html
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pyode-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyode-user