b3dSetCharacterMaxSlope

Sets default slope behavior (maxClimbXZ=walkable angle, maxSlide=start slide angle, friction 0-1, degrees). Takes characterHandle (character controller from b3dCreateCharacterController), maxClimbXZ (maximum climbable slope angle in degrees, angles below this walkable), maxSlide (angle where sliding starts in degrees, angles above this slide down), friction (slope friction 0.0-1.0, affects sliding speed). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
maxClimbXZ Double
maxSlide Double
friction Double

Returns

Void

Quick Summary

Sets default slope behavior (maxClimbXZ=walkable angle, maxSlide=start slide angle, friction 0-1, degrees). Takes characterHandle (character controller from b3dCreateCharacterController), maxClimbXZ (maximum climbable slope angle in degrees, angles below this walkable), maxSlide (angle where sliding starts in degrees, angles above this slide down), friction (slope friction 0.0-1.0, affects sliding speed). Returns nothing.

Technical Exegesis...

Sets default slope behavior (maxClimbXZ=walkable angle, maxSlide=start slide angle, friction 0-1, degrees). Takes characterHandle (character controller from b3dCreateCharacterController), maxClimbXZ (maximum climbable slope angle in degrees, angles below this walkable), maxSlide (angle where sliding starts in degrees, angles above this slide down), friction (slope friction 0.0-1.0, affects sliding speed). Returns nothing.

Example

Example.bam
; No example implemented yet