This method gets the terrain normal at the specified coordinate or 3D position.
Parameter | Description |
---|---|
coord, (tx, ty) | terrain coordinate |
position, (x, y, z) | position in global space |
Returns the terrain normal at the specified coordinate or the interpolated normal at the specified position in global space.