Terrain Height & Texture at a location
by Kevin Bamonte · in Torque Game Engine · 10/24/2008 (11:51 am) · 2 replies
Hello All,
1) Is there anyway from within TorqueScript during a game to find the terrain height at a specific location ?
2) Is there anyway from within TorqueScript during a game to find the terrain texture applied at a specific location ?
Is there a terrain matrix that stores this info or can i query the terrain file ? how does this work ?
thank you in advance,
Kevin
1) Is there anyway from within TorqueScript during a game to find the terrain height at a specific location ?
2) Is there anyway from within TorqueScript during a game to find the terrain texture applied at a specific location ?
Is there a terrain matrix that stores this info or can i query the terrain file ? how does this work ?
thank you in advance,
Kevin
#2
This adds a terrain texture referencing system to Torque:
twSurfaceReference Object for TGE
port of twSurfaceReference for TGEa
10/24/2008 (1:24 pm)
GetTerrainHeight( XY position )This adds a terrain texture referencing system to Torque:
twSurfaceReference Object for TGE
port of twSurfaceReference for TGEa
Torque Owner Tim.Holt