- Home /
How to climb up a ladder!!
I imported my ladder from blender and now i want the FPS character to climb up the ladder without any animation!! He hould climb up, only!
He should climb up without the need to press a key!
How to??
Celofa
Answer by Meltdown · Jan 07, 2011 at 01:25 PM
Add a box or mesh collider to the bottom of your ladder.
When the character collides with the bottom of the ladder, write a method to transform your characters position up to the top of the ladder, then simply move your character off the ladder onto the floor next to the ladder.
How would you do that? Like what would you write for code. I am new to c#.
@DawPiot14 You can surely find how to do this by simply googling how to change position of a character, how to check for collisions, etc. Try doing that and you will eventually have enough information to use this answer as a guide to write your own climb ladder method. Best of luck.
Your answer
Follow this Question
Related Questions
Climb ladder 2 Answers
Trying to get FPS ladder script to work 1 Answer
How to draw an arrow from fps contoller 1 Answer
Check if RaycastAll hits[i].point == null 0 Answers
Closest array element 1 Answer