Character.getSurfaceNormal

Returns the normal of the character's contact with a surface. Defaults to a zero vector when no contact is found.

Kind: Function

Environments: Game

Game

character:getSurfaceNormal(  )

Open the full Game reference

Parameters:

Name Type Description
character Character The character.

Returns:

Type Description
Vec3 The surface normal.