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

Impulses applied by an impulse joint during the last step, along the axes of its joint frame. More...

#include <rapier.h>

Data Fields

struct R2Vector linear
 Impulse applied along the locked translational axes.
R2AngVector angular
 Angular impulse applied along the locked rotational axes (a scalar in 2D).
R2Real limits [R2_JOINT_DOF_COUNT]
 Impulse applied by the limit of each axis, in translation-then-rotation order.
R2Real motors [R2_JOINT_DOF_COUNT]
 Impulse applied by the motor of each axis, in translation-then-rotation order.

Detailed Description

Impulses applied by an impulse joint during the last step, along the axes of its joint frame.

Field Documentation

◆ angular

R2AngVector R2JointImpulses::angular

Angular impulse applied along the locked rotational axes (a scalar in 2D).

◆ limits

R2Real R2JointImpulses::limits[R2_JOINT_DOF_COUNT]

Impulse applied by the limit of each axis, in translation-then-rotation order.

◆ linear

struct R2Vector R2JointImpulses::linear

Impulse applied along the locked translational axes.

◆ motors

R2Real R2JointImpulses::motors[R2_JOINT_DOF_COUNT]

Impulse applied by the motor of each axis, in translation-then-rotation order.


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