View more

View more

View more

### Image of the Day Submit

IOTD | Top Screenshots

### The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

# controlling chipmunk joints

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

2 replies to this topic

### #1Fs02  Members

Posted 01 July 2014 - 07:24 PM

Hello, i'm working on a project using cocos2d-js and chipmunk and gut stuck on how to control chipmunk joint, i'm very new on chipmunk physics but i've already familiar with box2d before.

I'm looking for example about how to manipulate chipmunk joints, not just how to create it but also how to control it, i've found some examples before but it just showing how to create a joint, not how to control it.
It'll be very helpfull if someone write an example or give a link to an example.

Thanks very much :-)

[my game in #ggj14 : http://www.indiedb.com/games/romance-stalker [my blog : http://surya.volge.net ]

### #2BeerNutts  Members

Posted 02 July 2014 - 07:20 AM

Hi FS02,

I was going to suggest you submit this question to the chipmunk2d forum, but then I saw you already had.  Be patient, that forum is the right place for chipmunk physics specific questions.

Otherwise, keep going over the api and experimenting, you'll probably learn it yourself before someone gives you an answer.

My Gamedev Journal: 2D Game Making, the Easy Way

---(Old Blog, still has good info): 2dGameMaking
-----
"No one ever posts on that message board; it's too crowded." - Yoga Berra (sorta)

### #3Fs02  Members

Posted 02 July 2014 - 08:00 PM

Hi BeerNutts,

Thanks for reply, i already doing some experiment and i found the solution

The solution is just combine some joint together, for example if you have ChipmunkPivotJoint and you want to limit it's rotation, just add ChipmunkRotaryLimitJoint to the same body, and also if you want the joint to have motor then add ChipmunkSimpleMotor.

[my game in #ggj14 : http://www.indiedb.com/games/romance-stalker [my blog : http://surya.volge.net ]

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.