Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to create a RagDoll body in andEngine which can run and jump over different jumpObjects. Can any one give a nice tutorial on how to create RagDoll body and how to move it, like jump and running.

Thanks in Advance.

share|improve this question
    
I don't think anyone will give you a "nice" tutorial. What research have you done so far yourself? –  Sidar Sep 24 '12 at 12:42
    
I am reading Box2d manual. –  Asad Sep 24 '12 at 12:48
    
I know about the joints and bodies, but i want to know how to move different parts of body when the object is running or the object makes a jump. –  Asad Sep 24 '12 at 12:52
add comment

1 Answer

I think you mis concept all the thing. For developing contra like character you have to create a single body either box or circle that does not matter. For providing jump you have to give impulse to that single body. And body contains the sequence of sprite to make all the effect like walking, jumping etc. If does not require then you do not need to create a joints between multiple bodies.

share|improve this answer
    
Thanks for helping me. But my problem is that when body collide with walking track, joints start movement and body can't stand straight. i am taking help from this site.. code.google.com/p/andengine-ragdoll/source/browse/trunk/src/… –  Asad Sep 24 '12 at 14:18
2  
That's because ragdoll is exactly what the name says. It is good at being tossed around, making it move is very hard. If you think you can make it work like this, try playing this game for a while: foddy.net/Athletics.html and then think again. You could just animate some sprites and when you need the character to fall, simply read the sprites' coordinates and attach a ragdoll in the same posture and velocity. –  JohnEye Sep 24 '12 at 14:40
    
I am completely agree with JohnEye. You need to rethink about that one. –  Siddharth Sep 25 '12 at 6:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.