Character Body
self:get_floor_max_angle
SharedRetrieves the maximum angle considered a walkable floor by the character body
Syntax
local angle = self:get_floor_max_angle()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | angle | Current floor max angle in degrees |
Examples
local entity = physics.character.create()
core.engine.print("info", "Character body floor max angle:", entity:get_floor_max_angle())