Joints in a bridge simulation

Official forum for the Chipmunk2D Physics Library.
Post Reply
AngieCris
Posts: 2
Joined: Mon Apr 28, 2014 11:27 am
Contact:

Joints in a bridge simulation

Post by AngieCris »

Hi,

I'm doing a bridge building game, but quite confused about what kind of joints should I use for the bridge pieces.
At first I used the pivot joints and set up a finite max constraint force, but weird things happened: the pieces were floating in the air when the max constraint force was not reached, and then pulled up again by the pivot point, so it looks like a damped spring constraint instead of a pivot joint. In other words, the distance from the pivot joint and each of the two pieces connected is not supposed to change, right? But the distance is changing just like a damped spring.
Can someone help me find out what's wrong with it? :( Any help is appreciated coz I've run out of ideas now. Thanks so much!!!!!!!

(Btw, I'm using pymunk, python version chipmunk. But I think they work in the same way coz source code is the same)
Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests