- Home /
3rd-person RPG movment on uneven terrain?
I am quite new and just moved from 3D game studio to unity.
I am doing a 3rd-person RPG (like Diablo style). The movement is basically click on ground and walk to there. The problem is my terrain is uneven. I know I can use get Terrain height and keep updating y-axis each frame. But it has 2 problems: 1. Can't prevent character to move to a hill(which I don't want it to able to climb) 2. Can't prevent character to fall down cliff(which I want it stop before falling down)
Hope someone could give a direction to come out a good movement solution.
Have you tried CharacterController Component + Simple$$anonymous$$ove() ? If not, maybe that's what you want.
Thanks for the suggestion. I will give it a try and update the outcome.
Answer by Taffer · Mar 08, 2011 at 01:18 PM
Check out the Locomotion System:
http://unity3d.com/support/resources/unity-extensions/locomotion-ik
Make characters dynamically walk and run on any uneven terrain.
Your answer
Follow this Question
Related Questions
3D Movement with Gamepad with Input System? 3 Answers
movement script 2 Answers
Question about iTween Uneven Terrain example. 2 Answers
Clickk to Move - Bridges? 1 Answer