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

A copied state snapshot, with no pointers or ownership obligations. More...

#include <rapier.h>

Data Fields

struct R3Pose position
 World-space pose.
struct R3Vector linvel
 World-space linear velocity.
R3AngVector angvel
 World-space angular velocity in radians per second.
R3Bool sleeping
 Whether the body starts/is asleep.
R3Bool enabled
 Whether this setting/object is enabled (0 or 1).
struct R3UserData userData
 Application data; Rapier does not own pointers encoded in it.

Detailed Description

A copied state snapshot, with no pointers or ownership obligations.

Field Documentation

◆ angvel

R3AngVector R3RigidBodyState::angvel

World-space angular velocity in radians per second.

◆ enabled

R3Bool R3RigidBodyState::enabled

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

◆ linvel

struct R3Vector R3RigidBodyState::linvel

World-space linear velocity.

◆ position

struct R3Pose R3RigidBodyState::position

World-space pose.

◆ sleeping

R3Bool R3RigidBodyState::sleeping

Whether the body starts/is asleep.

◆ userData

struct R3UserData R3RigidBodyState::userData

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


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