Game Development Community

Orc walking up a building/ cliff

by Kevin Dresher · in Torque Game Engine Advanced · 04/13/2010 (8:35 pm) · 0 replies

I found the code where it controls the maximum angle you can walk. IS there any way i can get the orc to walk up the building/cliff as though he was walking normaly.

// Controls over slope of runnable/jumpable surfaces
runSurfaceAngle = 90;
jumpSurfaceAngle = 80;

I increased the Angle the player is aloud to climb allowing the player to "climb"

Is there a way to rotate the player to follow the angles or when it hits a particular angle?