b3dIsCharacterGrounded

Checks if character is on ground (1=grounded 0=airborne, uses Jolt EGroundState). Takes characterHandle (character controller from b3dCreateCharacterController). Returns 1 if character on ground (standing on solid surface), 0 if airborne (falling, jumping, or no floor contact), 0 on error (invalid character).

3D Graphics

Parameters & Returns

Parameters

characterHandle Int

Returns

Int

Quick Summary

Checks if character is on ground (1=grounded 0=airborne, uses Jolt EGroundState). Takes characterHandle (character controller from b3dCreateCharacterController). Returns 1 if character on ground (standing on solid surface), 0 if airborne (falling, jumping, or no floor contact), 0 on error (invalid character).

Technical Exegesis...

Checks if character is on ground (1=grounded 0=airborne, uses Jolt EGroundState). Takes characterHandle (character controller from b3dCreateCharacterController). Returns 1 if character on ground (standing on solid surface), 0 if airborne (falling, jumping, or no floor contact), 0 on error (invalid character). Queries Jolt CharacterVirtual.GetGroundState, returns EGroundState::OnGround status. Read-only ground detection query.

This function checks ground contact.

Example

Example.bam
; No example implemented yet