- Home /
The Drunk Walk
I have a model in my game. Its basic but its part of what the game is about. I need it to do A drunk like walk. But im not talking about animation im talking about it walking around but like a retard and falls over every now and then. Could someone help me to develop a Code to do this.
The model is a ragdoll created by several character joints. Will that help when making the drunk-like-retarded walk like we could just stand the legs up but give it a weak balance. Here is a picture to help you.
Answer by Kiloblargh · Nov 03, 2012 at 04:01 PM
There's no way getting around the fact that you're going to have to do some keyframe animation in an external program to get the effect you want. Even in the new version of Unity, which has a well-developed system for visually assembling and controlling the animations, you still have to import the raw material animation clips from Blender or Maya or what-have-you.
I made the model on Unity. So what do I have to do, Add animation ins$$anonymous$$d because I could do a normal walk then ins$$anonymous$$d. Just guide through what I have to Do
Animate a normal walk cycle, then every (Random.Range(1.0,5.0)) seconds, stop the animation, turn on ragdoll physics for (Random.Range(0.5,2.0)) seconds, give one of the arms or legs a force in some random direction, then turn off physics, pick a random point in the walk cycle and blend back to it.
thanks but do you know what program I could make the walk cycle on because I sort of made the model on Unity with Character Joints
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
How Do I Could I Make Ragdoll Out OF This Model!? 1 Answer
How can I make character become a ragdoll with isKinematic? 1 Answer
Physics City 1 Answer