|
Rapier C — 3D / f32 0.36.0+c.0
|
Closest ray intersection, with a world-space normal. 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 | normal |
| World-space contact or surface normal. | |
| uint32_t | feature_type |
| Shape feature kind: R3_FEATURE_UNKNOWN, R3_FEATURE_VERTEX, R3_FEATURE_EDGE, or R3_FEATURE_FACE. | |
| uint32_t | feature_id |
| Index within the feature kind; zero for unknown. | |
Closest ray intersection, with a world-space normal.
| struct R3ColliderHandle R3RayHit::collider |
World-bound collider handle.
| uint32_t R3RayHit::feature_id |
Index within the feature kind; zero for unknown.
| uint32_t R3RayHit::feature_type |
Shape feature kind: R3_FEATURE_UNKNOWN, R3_FEATURE_VERTEX, R3_FEATURE_EDGE, or R3_FEATURE_FACE.
| struct R3Vector R3RayHit::normal |
World-space contact or surface normal.
| R3Real R3RayHit::time_of_impact |
Ray/sweep parameter at first impact, bounded by the query options.