|
Rapier C — 2D / f32 0.36.0+c.0
|
One manifold contact and its normal solver impulse. More...
#include <rapier.h>
Data Fields | |
| size_t | manifold_index |
| Index of the contact manifold within its pair. | |
| struct R2Vector | local_p1 |
| Contact point in collider 1 local coordinates. | |
| struct R2Vector | local_p2 |
| Contact point in collider 2 local coordinates. | |
| struct R2Vector | normal |
| World-space contact or surface normal. | |
| R2Real | distance |
| Signed separation; negative means penetration. | |
| R2Real | impulse |
| Normal impulse applied at this contact. | |
| R2Real | tangent_impulse [1] |
| Friction impulse along the tangent basis of the contact. | |
One manifold contact and its normal solver impulse.
| R2Real R2ContactPoint::distance |
Signed separation; negative means penetration.
| R2Real R2ContactPoint::impulse |
Normal impulse applied at this contact.
| struct R2Vector R2ContactPoint::local_p1 |
Contact point in collider 1 local coordinates.
| struct R2Vector R2ContactPoint::local_p2 |
Contact point in collider 2 local coordinates.
| size_t R2ContactPoint::manifold_index |
Index of the contact manifold within its pair.
| struct R2Vector R2ContactPoint::normal |
World-space contact or surface normal.
| R2Real R2ContactPoint::tangent_impulse[1] |
Friction impulse along the tangent basis of the contact.