|
Rapier C — 2D / f32 0.36.0+c.0
|
Mutable per-manifold properties. More...
#include <rapier.h>
Data Fields | |
| struct R2Vector | normal |
| World-space contact or surface normal. | |
| R2Real | friction |
| Nonnegative friction coefficient. | |
| R2Real | restitution |
| Nonnegative restitution coefficient. | |
| uint32_t | user_data |
| Application data; Rapier does not own pointers encoded in it. | |
| R2Bool | enabled |
| Whether this setting/object is enabled (0 or 1). | |
Mutable per-manifold properties.
Set enabled=0 to discard all its solver contacts.
| R2Bool R2ContactModification::enabled |
Whether this setting/object is enabled (0 or 1).
| R2Real R2ContactModification::friction |
Nonnegative friction coefficient.
| struct R2Vector R2ContactModification::normal |
World-space contact or surface normal.
| R2Real R2ContactModification::restitution |
Nonnegative restitution coefficient.
| uint32_t R2ContactModification::user_data |
Application data; Rapier does not own pointers encoded in it.