|
Rapier C — 2D / f64 0.36.0+c.0
|
Contact seen by the constraint solver. More...
#include <rapier.h>
Data Fields | |
| struct R2Vector | point1 |
| World-space contact point on collider 1's body. | |
| struct R2Vector | point2 |
| World-space contact point on collider 2's body. | |
| R2Real | distance |
| Signed separation along the normal, contact skins deducted; negative means penetration. | |
| struct R2Vector | tangent_velocity |
| Desired world-space tangent relative velocity, e.g. | |
Contact seen by the constraint solver.
Points are world-space, on each body's surface.
| R2Real R2SolverContact::distance |
Signed separation along the normal, contact skins deducted; negative means penetration.
| struct R2Vector R2SolverContact::point1 |
World-space contact point on collider 1's body.
| struct R2Vector R2SolverContact::point2 |
World-space contact point on collider 2's body.
| struct R2Vector R2SolverContact::tangent_velocity |
Desired world-space tangent relative velocity, e.g.
for conveyor belts; zero by default.