BBMOD_Terrain.get_normal

A function defined in BBMOD_Terrain.gml

get_normal(_x, _y)

Description

Retrieves terrain's normal at given coordinate.

Arguments

Name Type Description
_x Real The x position to get the normal at.
_y Real The y position to get the normal at.

Returns

Struct.BBMOD_Vec3 The terrain's normal at given coordinate or undefined if the coordinate is outside of the terrain.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 26, 2024 using GMDoc.