b3dGetCharacterWallContactZ

Returns wall contact position Z in world space (north-south position of wall touch, 0.0 if no wall). Takes characterHandle (character controller from b3dCreateCharacterController). Returns contact position Z coordinate (Z axis world space position where character touches wall), returns 0.0 if no wall contact.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int

Returns

Double

Quick Summary

Returns wall contact position Z in world space (north-south position of wall touch, 0.0 if no wall). Takes characterHandle (character controller from b3dCreateCharacterController). Returns contact position Z coordinate (Z axis world space position where character touches wall), returns 0.0 if no wall contact.

Technical Exegesis...

Returns wall contact position Z in world space (north-south position of wall touch, 0.0 if no wall). Takes characterHandle (character controller from b3dCreateCharacterController). Returns contact position Z coordinate (Z axis world space position where character touches wall), returns 0.0 if no wall contact. Use for spawning wall effects, placing wall decals, or calculating 3D wall contact points.

This function queries wall contact position.

Example

Example.bam
; No example implemented yet