Jump to content
  • Advertisement
Sign in to follow this  
Fs02

controlling chipmunk joints

This topic is 1474 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 :-)

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!