ConstantVolumeJoint/Blob Joint implementation

Anything libgdx related goes here!

ConstantVolumeJoint/Blob Joint implementation

Postby sensen » Wed Jan 30, 2013 10:28 am

blob.jpg
Blob in action
blob.jpg (11.34 KiB) Viewed 869 times


Greetings.

I have been struggling for a few hours to implement the idea of ConstantVolumeJoints in the LibGdx's implementation of box2d. Unfortunately the differences between the source from Jbox2d and Libgdx are a little too much for me. Did anyone have success getting them to work?
For all those unfamiliar this joint type's specifics include linking 3 nodes and keeping the volume between them fixed which work great with any blob style physics> I have experimented with normal distance joints but this seams a cleaner approach.

If anyone has achieved similar results with normal distance joints I would appreciate greatly some info on the blob's structure and physical properties of it's joints.


Thank you


the behavior can be seen here under "Blob Joint"

http://gwtbox2d.appspot.com/
sensen
 
Posts: 1
Joined: Sun Nov 25, 2012 9:30 am

Return to Libgdx

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 1 guest