Game Development Community

Ladders and climbing.

by Phil Carlisle · in Torque Game Engine · 08/25/2001 (12:11 pm) · 8 replies

Just thought of something.. I dont recall there being anything like ladders in T2, were there?

Everything was just some jetpack thing.

So.... ladders.. my take is that I do a check on the surface the player box contacts, and see if its a "ladder" texture. if it is, I impulse the player up a bit (so you push into the texture to climb the ladder).

Anyone else got idea's for this?

Phil.

#1
08/28/2001 (10:18 pm)
Just a stab in the dark:

Have a invisible box that when the player is inside it, gravity gets set to 0, and speed is lowered.
#2
10/28/2001 (3:43 pm)
The best way to do this, imho, is to create a trigger area around the ladder. When the player is in the trigger you can make the w and s key move up and down instead of forward/back.
#3
04/08/2002 (2:22 am)
I keep finding old but interesting threads... ;-)
Did anybody come up with a working solution in the meantime? If not, I will try that...
By the way, what about elevators?
#4
04/08/2002 (2:37 am)
/me points at Phil :)

//Clocks out
#5
04/08/2002 (3:32 am)
i have ladders,sort of,,bet you could make them look mor like ladders using the step princable

www.planetquake.com/noescape/dev1/ladder.jpg
#6
04/08/2002 (3:43 am)
Cool! So how did you make them "climbable"?
Triggers? Gravity adjustments?
#7
04/08/2002 (3:53 am)
nothing like you mentioned i just made stairs with the quark feature out of a cube flatened it and it works great, it still works like steps

you can try them out in the latest dif i up loaded
[edit]
Click Here[/edit]

in the downloads/torque section

this is the tower2 dif in #2
#8
04/08/2002 (4:00 am)
Yeah, right... he can just step on these little "boxes"... not exactly a ladder, but why not...
But maybe I'll try to make some real ladders... the bad thing is, I will need another animation for my characters to make it look "real" :-( Or I will end up with Counterstrike-like ladder climbing (which looks ridiculous...hehe ;-0 )