GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::physics::JointDistanceConstraintImpulses< N > Struct Template Reference

Impulse applied by the distance limit of a joint. More...

#include <GREM/physics/joints.hpp>

Public Attributes

LinearMomentum1D driveMomentum {}
 Momentum of the JointDistanceConstraint<N>::driveMaxForce force between the attachment frame points.
LinearImpulse1D driveImpulse {}
 Impulse applied by the JointDistanceConstraint<N>::driveMaxForce force between the attachment frame points during the last simulation step.
LinearMomentum1D lowerLimitMomentum {}
 Momentum of the JointDistanceConstraint<N>::minDistance limit between the attachment frame points.
LinearImpulse1D lowerLimitImpulse {}
 Impulse applied by the JointDistanceConstraint<N>::minDistance limit between the attachment frame points during the last simulation step.
LinearMomentum1D upperLimitMomentum {}
 Momentum of the JointDistanceConstraint<N>::maxDistance limit between the attachment frame points.
LinearImpulse1D upperLimitImpulse {}
 Impulse applied by the JointDistanceConstraint<N>::maxDistance limit between the attachment frame points during the last simulation step.
Pair< Length< N > > lastOffsets {}
 World-space offsets of the attachment points from the objects' centers of mass on the last constraint solver iteration.

Detailed Description

template<size_t N>
struct grem::physics::JointDistanceConstraintImpulses< N >

Impulse applied by the distance limit of a joint.

Template Parameters
Nnumber of dimensions of the world space (must be 2 or 3).

Member Data Documentation

◆ driveMomentum

template<size_t N>
LinearMomentum1D grem::physics::JointDistanceConstraintImpulses< N >::driveMomentum {}

Momentum of the JointDistanceConstraint<N>::driveMaxForce force between the attachment frame points.

◆ driveImpulse

template<size_t N>
LinearImpulse1D grem::physics::JointDistanceConstraintImpulses< N >::driveImpulse {}

Impulse applied by the JointDistanceConstraint<N>::driveMaxForce force between the attachment frame points during the last simulation step.

◆ lowerLimitMomentum

template<size_t N>
LinearMomentum1D grem::physics::JointDistanceConstraintImpulses< N >::lowerLimitMomentum {}

Momentum of the JointDistanceConstraint<N>::minDistance limit between the attachment frame points.

◆ lowerLimitImpulse

template<size_t N>
LinearImpulse1D grem::physics::JointDistanceConstraintImpulses< N >::lowerLimitImpulse {}

Impulse applied by the JointDistanceConstraint<N>::minDistance limit between the attachment frame points during the last simulation step.

◆ upperLimitMomentum

template<size_t N>
LinearMomentum1D grem::physics::JointDistanceConstraintImpulses< N >::upperLimitMomentum {}

Momentum of the JointDistanceConstraint<N>::maxDistance limit between the attachment frame points.

◆ upperLimitImpulse

template<size_t N>
LinearImpulse1D grem::physics::JointDistanceConstraintImpulses< N >::upperLimitImpulse {}

Impulse applied by the JointDistanceConstraint<N>::maxDistance limit between the attachment frame points during the last simulation step.

◆ lastOffsets

template<size_t N>
Pair<Length<N> > grem::physics::JointDistanceConstraintImpulses< N >::lastOffsets {}

World-space offsets of the attachment points from the objects' centers of mass on the last constraint solver iteration.


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