controlling chipmunk joints

Started by
1 comment, last by Fs02 9 years, 9 months ago
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 :-)
Advertisement

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)

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.

This topic is closed to new replies.

Advertisement