b3dCharacterJump

Makes character jump with upward velocity (jumpSpeed in units/sec, uses coyote time 0.15sec after leaving ground). Takes characterHandle (character controller from b3dCreateCharacterController), jumpSpeed (initial upward velocity in units/sec, typical values 7-12 for realistic jump). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int
jumpSpeed Double

Returns

Void

Quick Summary

Makes character jump with upward velocity (jumpSpeed in units/sec, uses coyote time 0.15sec after leaving ground). Takes characterHandle (character controller from b3dCreateCharacterController), jumpSpeed (initial upward velocity in units/sec, typical values 7-12 for realistic jump). Returns nothing.

Technical Exegesis...

Makes character jump with upward velocity (jumpSpeed in units/sec, uses coyote time 0.15sec after leaving ground). Takes characterHandle (character controller from b3dCreateCharacterController), jumpSpeed (initial upward velocity in units/sec, typical values 7-12 for realistic jump). Returns nothing. Sets vertical velocity to jumpSpeed if grounded or within coyote time, resets coyote timer to prevent double jumping. Use for player jumping, NPC jumps, platformer mechanics.

This function initiates jump.

Example

Example.bam
; No example implemented yet