Climbing stairs
by R. vant Zelfde · in Torque Game Engine · 01/29/2003 (12:08 am) · 5 replies
Hi,
I'm trying to let my character walk on stairs, but I have no idea
where to begin and how to implement this.
Because as far as I can see the character in the demo project is not able to walk stairs (or move over any object for that matter).
Can anybody please give me a hint into the right direction?
Thanks...
I'm trying to let my character walk on stairs, but I have no idea
where to begin and how to implement this.
Because as far as I can see the character in the demo project is not able to walk stairs (or move over any object for that matter).
Can anybody please give me a hint into the right direction?
Thanks...
#2
youll need some animation's to trigger at certian step heights
should't be to hard as long as you can get the animations.
01/29/2003 (1:04 am)
sure use the player step code already there ..youll need some animation's to trigger at certian step heights
should't be to hard as long as you can get the animations.
#3
01/29/2003 (5:16 am)
An easy / cheesy way to do it is place an invisible ramp over the steps so that the player is walking on a slope instead of climbing up the steps. If the steps aren't central to your game (i.e. a focal point) then most players will never notice it.
#4
For our project we did it using a trigger. Very much like the way it was done in games ala Half-life. It works, but there are some minor problems (like you have to jump off of it, while you should be able to just walk on when you are done climbing it.... And there's no animation yet... the player just "walks" upward ;))
Unfortunately our new programmer took a break, so it doesn't look like this will be finished soon.
01/29/2003 (5:31 am)
You are talking about ladders right?For our project we did it using a trigger. Very much like the way it was done in games ala Half-life. It works, but there are some minor problems (like you have to jump off of it, while you should be able to just walk on when you are done climbing it.... And there's no animation yet... the player just "walks" upward ;))
Unfortunately our new programmer took a break, so it doesn't look like this will be finished soon.
#5
I'm going to try and create something with this information.
@Ward De Langhe: I was talking about step-stairs by the way,
but I appreciate the info you gave me
01/29/2003 (5:36 am)
Thanks for the help all. I'm going to try and create something with this information.
@Ward De Langhe: I was talking about step-stairs by the way,
but I appreciate the info you gave me
Torque Owner Roger Smith