- Home /
How to make character be able to walk up steps?
i have created a project using the standard "hero" character from the locomotion project for download on unity, i then made a simple 2 story building in 3ds max and imported it into unity and put a mesh collider onto using the same mesh, i can walk into the building but when i try to go up the steps it wont let me, as if it is a wall. i kno the steps rnt too high for the system because i have created higher steps with the terrain editor that work fine. any help would be most appreciated =)
Answer by runevision · Oct 10, 2011 at 08:20 AM
The Locomotion System does not control motion in any way so this is not related to the Locomotion System.
If you use a CharacterController, you probably need to set the step height to a larger value.
Note that you can't compare to "steps" in terrain, since the terrain can't make 100% vertical surfaces, so a terrain always only have slopes of various degrees, never true steps.
Thank you you were correct, however is there a way to be able to go up steps easily (cuz its still uneasy) plus make the character unable to move up unreasonably steep slopes? thanks
Look up the CharacterController in the reference manual. The options are described there and there's one both for controlling max step height and max slope.
Your answer
Follow this Question
Related Questions
Can't seem to get collision to work 1 Answer
Raycast collision detection? 1 Answer
OnTriggerEnter2D not triggering 2 Answers
ControllerColliderHit, two objects, takes wrong one 1 Answer
Change Direction on Collision 6 Answers