Angles Helper
A base class for physics trigger and collision handling — inherit to create interactive volumes with enter, exit, and hold callbacks.
Categories:
Angle/Orientation Utilities
Helper functions for angle-based section mapping and orientation conversion.
| Function | Description |
|---|---|
SectionByAngle::PickByAngle(angle, config) | Maps an angle to a section index using a predefined config. Useful for 4-directional or 8-directional animation selection. |
SectionByAngle::YawFromDir(direction) | Converts a direction vector to a yaw angle. |
SectionByAngle::QuatFromYaw(yaw) | Converts a yaw angle to a quaternion rotation. |
Includes 22 predefined SectionConfig presets for common angle-to-section mapping patterns (4-way, 8-way, etc.).