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
| Type | Name | Description |
|---|---|---|
float | radians | Current floor max angle in radians |
Examples
local entity = physics.character.create()
core.engine.print("info", "Character body floor max angle:", entity:get_floor_max_angle())