Rapier C — 3D / f64 0.36.0+c.0
Loading...
Searching...
No Matches
R3RayToi Struct Reference

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.

Detailed Description

Optional ray collider/time result.

A miss is found = 0 with status OK.

Field Documentation

◆ collider

struct R3ColliderHandle R3RayToi::collider

World-bound collider handle.

◆ found

R3Bool R3RayToi::found

Whether a result exists; other result fields are meaningful only when this is 1.

◆ toi

R3Real R3RayToi::toi

Ray parameter t at impact: origin + direction * t.


The documentation for this struct was generated from the following file: