How can i acheive this kind of move movement?

How can get this type of movement with my physics body on touch and drag?

Using Chipmunk. In cocos2dx 3.10 programmer’s guide samples, chapter12, you’ll find chipmunk examples on how to do that

Hello @sunil9038,

There is no magic at work here, Its simple physics engine at its best :), User is creating a joint between Mouse pointer and physicsBody(where its clicking) and dragging the body along with it, rest is calculated and done by physics Engine. You can use Box2D or Chipmunk as suggested by @crittergorge in above post. Both or them are good can do the job easily.

Regards

Thanks. @Lazy_Gamer and @crittergorge .i will do this with Box2d and joint implementation.

Just consider that with box2d you have more precise computations but slower outcomes… more feasible for physics-only puzzle games… while chipmunk is less precise but faster, and yields to more bullet-hell inclined games…

i have done with inbuilt physics.and the joint is used for this is “PhysicsJointPin”.
Everything is working fine on android device but not on iOS device.thanks for your reply.
if you have any solution for that please let me know.