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

Collision start/stop flags match Rapier CollisionEventFlags. More...

#include <rapier.h>

Data Fields

struct R3ColliderHandle collider1
 First collider in the pair.
struct R3ColliderHandle collider2
 Second collider in the pair.
R3Bool started
 1 for a starting event, 0 for a stopping event.
uint32_t flags
 Bitmask of R3_COLLISION_EVENT_SENSOR and R3_COLLISION_EVENT_REMOVED.

Detailed Description

Collision start/stop flags match Rapier CollisionEventFlags.

Field Documentation

◆ collider1

struct R3ColliderHandle R3CollisionEvent::collider1

First collider in the pair.

◆ collider2

struct R3ColliderHandle R3CollisionEvent::collider2

Second collider in the pair.

◆ flags

uint32_t R3CollisionEvent::flags

Bitmask of R3_COLLISION_EVENT_SENSOR and R3_COLLISION_EVENT_REMOVED.

◆ started

R3Bool R3CollisionEvent::started

1 for a starting event, 0 for a stopping event.


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