b3dSetCharacterStepHeight

Sets stair step height (stepUp for climbing, stepDown for floor sticking, default 0.4 units). Takes characterHandle (character controller from b3dCreateCharacterController), stepHeight (maximum step height in units for both stepping up stairs and stepping down to stick to slopes). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
stepHeight Double

Returns

Void

Quick Summary

Sets stair step height (stepUp for climbing, stepDown for floor sticking, default 0.4 units). Takes characterHandle (character controller from b3dCreateCharacterController), stepHeight (maximum step height in units for both stepping up stairs and stepping down to stick to slopes). Returns nothing.

Technical Exegesis...

Sets stair step height (stepUp for climbing, stepDown for floor sticking, default 0.4 units). Takes characterHandle (character controller from b3dCreateCharacterController), stepHeight (maximum step height in units for both stepping up stairs and stepping down to stick to slopes). Returns nothing. Sets both data.stepUp and data.stepDown to same value, affects stair climbing and floor adherence. Use to customize step behavior per character or environment.

This function configures step height.

Example

Example.bam
; No example implemented yet