Game Development Community

Changing the players climb up method

by University of Zurich (#0001) · in Torque Game Engine · 06/22/2006 (7:02 am) · 3 replies

Hi

my problem is relatively simple, but i seem unable to find a solution. now, i'm looking for the variable that defines the max. height which the player still can get over, without jumping that is.

thanks a lot in advance.

Uni_user 0001

#1
06/22/2006 (7:47 am)
Did you check out player.cs?

runSurfaceAngle  = 70;
#2
06/22/2006 (7:47 am)
Place this in your player datablock:
maxStepHeight = 1.0;
In head code it is set to '1' by default if no value is specified within script.
#3
06/22/2006 (9:03 am)
Nice, I was needing this :P