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

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

#include <rapier.h>

Data Fields

struct R2Pose position
 World-space pose.
struct R2Vector linvel
 World-space linear velocity.
R2AngVector angvel
 World-space angular velocity in radians per second.
R2Bool sleeping
 Whether the body starts/is asleep.
R2Bool enabled
 Whether this setting/object is enabled (0 or 1).
struct R2UserData 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

R2AngVector R2RigidBodyState::angvel

World-space angular velocity in radians per second.

◆ enabled

R2Bool R2RigidBodyState::enabled

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

◆ linvel

struct R2Vector R2RigidBodyState::linvel

World-space linear velocity.

◆ position

struct R2Pose R2RigidBodyState::position

World-space pose.

◆ sleeping

R2Bool R2RigidBodyState::sleeping

Whether the body starts/is asleep.

◆ userData

struct R2UserData R2RigidBodyState::userData

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


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