get_normal

function

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/Undefined The terrain's normal at given coordinate or undefined if the coordinate is outside of the terrain.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.