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

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.