b3dGetCharacterGroundMaterial

Returns material type of ground surface (0=none, 1-4=material, for audio/effects). Takes characterHandle (character controller from b3dCreateCharacterController). Returns material type integer (0=MATERIAL_NONE no material or airborne, 1-4=material types set via b3dSetPhysicsBodyMaterial).

3D Graphics

Parameters & Returns

Parameters

characterHandle Int

Returns

Int

Quick Summary

Returns material type of ground surface (0=none, 1-4=material, for audio/effects). Takes characterHandle (character controller from b3dCreateCharacterController). Returns material type integer (0=MATERIAL_NONE no material or airborne, 1-4=material types set via b3dSetPhysicsBodyMaterial).

Technical Exegesis...

Returns material type of ground surface (0=none, 1-4=material, for audio/effects). Takes characterHandle (character controller from b3dCreateCharacterController). Returns material type integer (0=MATERIAL_NONE no material or airborne, 1-4=material types set via b3dSetPhysicsBodyMaterial), reflects surface material of ground contact. Use to select footstep sounds, particle effects, or surface-specific gameplay behaviors.

This function queries ground material.

Example

Example.bam
; No example implemented yet