Move Ragdoll without gravity
Hello!
I have a 2D ragdoll (with a rigidbody2D) and I want to move it around the stage without gravity - so that it does not fall down, but at the same time keep the impact of gravity in its HingeJoints2D rigidbodies, so that they continue to rotate during movement.
P.S. I have the boundaries of the playing field and the switching of the father's body to the kinematic does not hold the objects inside of them.
I apologize if this is a stupid question. Thanks in advance!
Answer by meat5000 · Mar 11, 2018 at 09:59 AM
You can hack it by applying an Upward force equal to gravity. This means you dont need to mess with gravity on a world level or even need to switch it off and on from the rigidbody
Your answer
![](https://koobas.hobune.stream/wayback/20220612154337im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Character Joint stretches away from anchor on one of my joints only in Ragdoll 1 Answer
How do I get a ragdoll to hold a moving object with his hands? 1 Answer
Issues With Using Rigidbodies and Hinge Joints in a Tube 0 Answers
rigidbody velocity changes rapidly(fly) after change timescale 1 Answer
Door hinge joints 0 Answers