Tesseract Engine Documentation

Terrain.GetTerrainNormal Method 

Returns the normal of the terrain between point (x, z) and the next point that the object is going to land on based on the velocity

public Vector3 GetTerrainNormal(
   Single x,
   Single z,
   Vector3 velocity
);

Parameters

x
X
z
Z
velocity
Object's velocity

Return Value

Normal of the terrain

See Also

Terrain Class | DarkWynter.Engine.GameObjects Namespace