- Home /
Realistic walking.
Well, maybe not realistic, but fucking awesome. Alright, so in some fps's when you walk, your character has a very nice looking walk. E.G (Next footstep UP, next footstep DOWN) Its hard to explane lol
Answer by Kacer · Aug 12, 2011 at 09:32 AM
You want to do animations like that in a 3D programme, and when you go down stairs in the game you'd want to play the corresponding animation.
Remember, movement by animation in games is only an illusion, the script moves the character, not the animation.
personally i'd make it like this:
Make an animation in your chosen 3D application, lets say, an animation where your character simulates walking down some stairs.
export the animation to Unity, remember to note where the animation begins and starts, ie, if the animation starts at the 10'th frame, and stops at the 20'th.
make the stairs in unity, or import the model from some 3D application
when the character enters the stairs you begin playing the animation where he walks down the stairs, you can decide if he's on stairs or not by using a collider.
I havnt done this before, but i got the feeling that its difficult work, and will take some practice to coordinate the position of the foot and how far he steps down.