|
Rapier C — 3D / f64 0.36.0+c.0
|
Shape-cast impact geometry; collider-side data is world-space, moving-shape data is local. More...
#include <rapier.h>
Data Fields | |
| struct R3ColliderHandle | collider |
| World-bound collider handle. | |
| R3Real | time_of_impact |
| Ray/sweep parameter at first impact, bounded by the query options. | |
| struct R3Vector | witness1 |
| Impact witness on the collider, in world coordinates. | |
| struct R3Vector | witness2 |
| Impact witness on the moving shape, in its local coordinates. | |
| struct R3Vector | normal1 |
| Impact normal on the collider, in world coordinates. | |
| struct R3Vector | normal2 |
| Impact normal on the moving shape, in its local coordinates. | |
| uint32_t | status |
| Native result: 0 out of iterations, 1 converged, 2 failed, 3 penetrating or within target distance. | |
Shape-cast impact geometry; collider-side data is world-space, moving-shape data is local.
| struct R3ColliderHandle R3ShapeCastHit::collider |
World-bound collider handle.
| struct R3Vector R3ShapeCastHit::normal1 |
Impact normal on the collider, in world coordinates.
| struct R3Vector R3ShapeCastHit::normal2 |
Impact normal on the moving shape, in its local coordinates.
| uint32_t R3ShapeCastHit::status |
Native result: 0 out of iterations, 1 converged, 2 failed, 3 penetrating or within target distance.
| R3Real R3ShapeCastHit::time_of_impact |
Ray/sweep parameter at first impact, bounded by the query options.
| struct R3Vector R3ShapeCastHit::witness1 |
Impact witness on the collider, in world coordinates.
| struct R3Vector R3ShapeCastHit::witness2 |
Impact witness on the moving shape, in its local coordinates.