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

Sweep termination settings. More...

#include <rapier.h>

Data Fields

R3Real max_time_of_impact
 Maximum sweep parameter; movement is velocity multiplied by this time.
R3Real target_distance
 Nonnegative separation at which a shape cast counts as a hit.
R3Bool stop_at_penetration
 Whether to stop at t = 0 for an initial overlap.
R3Bool compute_impact_geometry_on_penetration
 Whether to compute witness points/normals for an initial overlap.

Detailed Description

Sweep termination settings.

Initialize with r3DefaultShapeCastOptions.

Field Documentation

◆ compute_impact_geometry_on_penetration

R3Bool R3ShapeCastOptions::compute_impact_geometry_on_penetration

Whether to compute witness points/normals for an initial overlap.

◆ max_time_of_impact

R3Real R3ShapeCastOptions::max_time_of_impact

Maximum sweep parameter; movement is velocity multiplied by this time.

◆ stop_at_penetration

R3Bool R3ShapeCastOptions::stop_at_penetration

Whether to stop at t = 0 for an initial overlap.

◆ target_distance

R3Real R3ShapeCastOptions::target_distance

Nonnegative separation at which a shape cast counts as a hit.


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