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

Mutable per-manifold properties. More...

#include <rapier.h>

Data Fields

struct R3Vector normal
 World-space contact or surface normal.
R3Real friction
 Nonnegative friction coefficient.
R3Real restitution
 Nonnegative restitution coefficient.
uint32_t user_data
 Application data; Rapier does not own pointers encoded in it.
R3Bool enabled
 Whether this setting/object is enabled (0 or 1).

Detailed Description

Mutable per-manifold properties.

Set enabled=0 to discard all its solver contacts.

Field Documentation

◆ enabled

R3Bool R3ContactModification::enabled

Whether this setting/object is enabled (0 or 1).

◆ friction

R3Real R3ContactModification::friction

Nonnegative friction coefficient.

◆ normal

struct R3Vector R3ContactModification::normal

World-space contact or surface normal.

◆ restitution

R3Real R3ContactModification::restitution

Nonnegative restitution coefficient.

◆ user_data

uint32_t R3ContactModification::user_data

Application data; Rapier does not own pointers encoded in it.


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