|
Rapier C — 3D / f32 0.36.0+c.0
|
Optional ray collider/time result. More...
#include <rapier.h>
Data Fields | |
| struct R3ColliderHandle | collider |
| World-bound collider handle. | |
| R3Real | toi |
| Ray parameter t at impact: origin + direction * t. | |
| R3Bool | found |
| Whether a result exists; other result fields are meaningful only when this is 1. | |
Optional ray collider/time result.
A miss is found = 0 with status OK.
| struct R3ColliderHandle R3RayToi::collider |
World-bound collider handle.
| R3Bool R3RayToi::found |
Whether a result exists; other result fields are meaningful only when this is 1.
| R3Real R3RayToi::toi |
Ray parameter t at impact: origin + direction * t.