Parameters & Returns
Parameters
Returns
Quick Summary
Returns Y component of collision surface normal (vertical component, up-down direction).
Takes entity, index.
Returns NY (normal Y, -1.0 to +1.0).
Technical Exegesis...
Returns Y component of collision surface normal (vertical component, up-down direction). Takes entity, index. Returns NY (normal Y, -1.0 to +1.0). Gets collision[index].normal.GetY(). Use for ground detection (NY near 1.0 = horizontal surface), wall detection (NY near 0 = vertical), slope analysis. Unit vector component. Flipped per entity. Thread-safe, O(1), returns 0.0 if out of bounds.