b3dGetCharacterWallNormalY

Returns wall normal Y component (vertical tilt of wall, <0.5 guaranteed for walls). Takes characterHandle (character controller from b3dCreateCharacterController). Returns contact normal Y component (Y axis direction of wall surface normal, vertical component perpendicular to wall), returns 0.0 if no wall contact.

3D Graphics

Parameters & Returns

Parameters

characterHandle Int

Returns

Double

Quick Summary

Returns wall normal Y component (vertical tilt of wall, <0.5 guaranteed for walls). Takes characterHandle (character controller from b3dCreateCharacterController). Returns contact normal Y component (Y axis direction of wall surface normal, vertical component perpendicular to wall), returns 0.0 if no wall contact.

Technical Exegesis...

Returns wall normal Y component (vertical tilt of wall, <0.5 guaranteed for walls). Takes characterHandle (character controller from b3dCreateCharacterController). Returns contact normal Y component (Y axis direction of wall surface normal, vertical component perpendicular to wall), returns 0.0 if no wall contact. Use for wall angle detection, sloped wall handling, or vertical wall mechanics.

This function queries wall normal.

Example

Example.bam
; No example implemented yet