Player not maintain upright position
by F.W. Hardijzer · in Torque Game Engine · 04/03/2003 (11:15 am) · 2 replies
How would i do this?
Instead of having a player like:
o
|<
|\
i have a player like:
<=>o
' '
How would i get the player to 'hug' an upgoing hill?
It now looks like this
/
<=>o/
' '/
and it should look like this
o /
/'/
'/
(ok i know, my ascii art is shit :P, but what i mean is that the player will rotate when the terrain is not flat, so all 4 feet will touch the ground, not only the front two)
does anyone know how to do that?
Instead of having a player like:
o
|<
|\
i have a player like:
<=>o
' '
How would i get the player to 'hug' an upgoing hill?
It now looks like this
/
<=>o/
' '/
and it should look like this
o /
/'/
'/
(ok i know, my ascii art is shit :P, but what i mean is that the player will rotate when the terrain is not flat, so all 4 feet will touch the ground, not only the front two)
does anyone know how to do that?
About the author
#2
04/04/2003 (7:34 am)
The engine doesn't work that way by default. If you are doing strictly a mod (IE - no C++ code changes) it pretty much can't be done at the moment as far as I know. If you did buy the engine, and have the C++ source, check the resources section for "Conform to terrain" or something similar - I'm using it in TZ with decent success (one issue with the player camera poping in first person mode. In 3rd person, it's perfect.)
Associate Kyle Carter