How to change a corner of sliding of a relief?
by Dgdsfg · in Torque Game Engine · 05/07/2004 (11:05 am) · 10 replies
The player should not get on abrupt mountains.
How can i do this?
Thanks!
How can i do this?
Thanks!
#3
05/07/2004 (6:31 pm)
What happens when you set runSurfaceAngle=10; ?
#4
05/08/2004 (5:34 am)
Nothing..
#5
05/08/2004 (6:04 am)
I made the change suggested by Ben and it worked just fine.
#6
05/08/2004 (8:55 am)
The plot thickens.
#7
05/08/2004 (9:52 am)
I already tried 0 and 180 - is identical
#8
--ishbuu
05/08/2004 (9:55 am)
Well i dont think it likes 180, thats allowing your player to use any angle... and 0... that means no height variation.. try something like 50 and see what you get...--ishbuu
#9
Also make sure you are altering the player.cs that had the runSurfaceAngle AND you are using in your game. (AKA do not alter another file named player.cs but didn't have runSurfaceAngle in it already or alter the "demo" when you are working with the starter.cs)
In sort changing the runSurfaceAngle will cause the player to be able to climb steep cliffs or not (depending on a value) if its not then there is something else going wrong.
05/08/2004 (10:04 am)
Have you looked to see if your player.cs is recompiling AKA you get a new player.dso? If its not compiling then all the correct changes to the player.cs will cause "no effect" in game.Also make sure you are altering the player.cs that had the runSurfaceAngle AND you are using in your game. (AKA do not alter another file named player.cs but didn't have runSurfaceAngle in it already or alter the "demo" when you are working with the starter.cs)
In sort changing the runSurfaceAngle will cause the player to be able to climb steep cliffs or not (depending on a value) if its not then there is something else going wrong.
#10
05/10/2004 (10:34 am)
Thanks all for the help! Now all works.
Torque 3D Owner Billy L
runSurfaceAngle = 80;
try to set it lower.
-Billy