Does the physics system support a walker
I am trying to build a walker simulation in Unity3D. I tried 4 legs and 6 legs. The walking is done with transform animation and it works fine, especially for 6 legs. But the game object doesn't move. I have set the physics materials for both legs and floor, to some crazy high fractions, but it doesn't seem to help.
You can see in the gif, that they are walking, but it doesn't move. Anything need to turn on to enable this kind of simulation in Unity?
Here is the gif. https://docs.google.com/uc?id=0B2UJIqwEKkgVTEFKMjIwOVhjRTA
The project is on Git now. https://github.com/XinliZ/UnityWalker
Answer by McGravity · Jan 08, 2017 at 12:41 PM
In the gif it looks like the legs are moving freely on the sides of the torso. Wouldn't they need to "push" the torso, while beeing attached in a more rigid way, in order to actually move the torso forward? The torso does move up and down while the legs transform on the y axis, so it would probably also move forward when the legs would actually push. Prevent them from moving on the x axis and try to rotate them on that axis.
They are actually pushing the torso. At beginning, they lay on the floor and the legs pushed the torso up to the stand position.
So I guess it should also move the torso forward by the similar animations. The rest of the physics are actually pretty accurate except it looks it is walking on the ice surface.
The git project is here: https://github.com/XinliZ/UnityWalker
Your answer
Follow this Question
Related Questions
Throwing animation to Physics,Throwing Animation to Physics 0 Answers
Hanging lamp drone physics 0 Answers
Moving platform causing Janky movement 0 Answers
How to make an object keep the momentum it gains in an animation? 0 Answers
How can I animate my 3D object without affecting the physics? 0 Answers