|
Rapier C — 2D / f32 0.36.0+c.0
|
Optional ray collider/time result. More...
#include <rapier.h>
Data Fields | |
| struct R2ColliderHandle | collider |
| World-bound collider handle. | |
| R2Real | toi |
| Ray parameter t at impact: origin + direction * t. | |
| R2Bool | 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 R2ColliderHandle R2RayToi::collider |
World-bound collider handle.
| R2Bool R2RayToi::found |
Whether a result exists; other result fields are meaningful only when this is 1.
| R2Real R2RayToi::toi |
Ray parameter t at impact: origin + direction * t.