self:get_floor_max_angle

Client

Retrieves the maximum angle, in radians, considered a walkable floor by the character body


Syntax

local radians = self:get_floor_max_angle()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatradiansCurrent floor max angle in radians

Examples

Get the floor max angle of a character body
local entity = physics.character.create()

core.engine.print("info", "Character body floor max angle:", entity:get_floor_max_angle())

On this page