simple pulley?

Official forum for the Chipmunk2D Physics Library.
Post Reply
compoundeye
Posts: 1
Joined: Sun Dec 21, 2008 6:39 pm
Contact:

simple pulley?

Post by compoundeye »

Hello,

I'd like to implement a simple pulley in a game where there are masses on a rope connected by a pulleys.

I don't want to implement any rope dynamics other than the vertical forces applied to each mass,

so actually implementing the links of a chain or the flex in a rope seems overkill.

I've been imagining manually applying forces to the masses a bit like the buoyancy example:

http://code.google.com/p/chipmunk-physi ... mo/Demo6.c

But is there a chipmunk correct way to do this, a way that will keep working if I add more than two weights to the pulley system?
maybe even pulley ratios?


cheers
and thanks for any suggestions,

mat
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests