b3dGetCharacterGroundEntity

Returns entity handle character is standing on (0 if airborne or not on entity). Takes characterHandle (character controller from b3dCreateCharacterController). Returns entity handle of ground surface (entity character is currently standing on), returns 0 if not grounded or ground is not an entity.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int

Returns

Int

Quick Summary

Returns entity handle character is standing on (0 if airborne or not on entity). Takes characterHandle (character controller from b3dCreateCharacterController). Returns entity handle of ground surface (entity character is currently standing on), returns 0 if not grounded or ground is not an entity.

Technical Exegesis...

Returns entity handle character is standing on (0 if airborne or not on entity). Takes characterHandle (character controller from b3dCreateCharacterController). Returns entity handle of ground surface (entity character is currently standing on), returns 0 if not grounded or ground is not an entity. Use to detect which platform character is on for moving platforms, material detection, or gameplay triggers.

This function queries ground entity.

Example

Example.bam
; No example implemented yet