How to attach an object to a rotating circle?

Posted by armands on Game Development See other posts from Game Development or by armands
Published on 2012-06-27T14:42:19Z Indexed on 2012/06/27 21:26 UTC
Read the original article Hit count: 294

Filed under:
|

I am trying to make an object get attached on a collision point to a circle that is rotating, but the player needs to get attached with a constant point on the player. For example the player is moving back and forth and when the user touches the screen and the player jumps up but what I need is that when the player collides with the circle it attaches it's legs to it and continues rotating with the circle. So I wanted to know how to make this kind of collision joint in Cocos2d Box2d?

© Game Development or respective owner

Related posts about box2d

Related posts about cocos2d