|
Rapier C — 2D / f32 0.36.0+c.0
|
Sweep termination settings. More...
#include <rapier.h>
Data Fields | |
| R2Real | max_time_of_impact |
| Maximum sweep parameter; movement is velocity multiplied by this time. | |
| R2Real | target_distance |
| Nonnegative separation at which a shape cast counts as a hit. | |
| R2Bool | stop_at_penetration |
| Whether to stop at t = 0 for an initial overlap. | |
| R2Bool | compute_impact_geometry_on_penetration |
| Whether to compute witness points/normals for an initial overlap. | |
Sweep termination settings.
Initialize with r2DefaultShapeCastOptions.
| R2Bool R2ShapeCastOptions::compute_impact_geometry_on_penetration |
Whether to compute witness points/normals for an initial overlap.
| R2Real R2ShapeCastOptions::max_time_of_impact |
Maximum sweep parameter; movement is velocity multiplied by this time.
| R2Bool R2ShapeCastOptions::stop_at_penetration |
Whether to stop at t = 0 for an initial overlap.
| R2Real R2ShapeCastOptions::target_distance |
Nonnegative separation at which a shape cast counts as a hit.