What it does
Physics3DCharacterStepHeight sets CharacterControllerStepHeight on a 3DPhysics object. It takes objID (an integer) and stepHeight (a float), and returns nothing. objID is the id of a 3D object, obtained elsewhere in the 3DPhysics family.
Syntax
Physics3DCharacterStepHeight(objID integer, stepHeight float)Parameters
| Name | Type |
|---|---|
| objID | integer |
| stepHeight | float |
Every form returns
nothing
Example · generated
object = CreateObjectFromHeightMap("assets/media.obj", 64.0, 64.0, 1.0, 1, 1)Physics3DCharacterStepHeight(object, 64.0)DO Sync()LOOPCreateObjectFromHeightMap is there to give the call something to act on; Physics3DCharacterStepHeight is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.