|
(Note that these are not member functions.)
|
constexpr auto | GetLocalAnchorA (const MotorJointConf &) noexcept |
| Gets the local anchor A.
|
|
constexpr auto | GetLocalAnchorB (const MotorJointConf &) noexcept |
| Gets the local anchor B.
|
|
constexpr auto | ShiftOrigin (MotorJointConf &, Length2) noexcept |
| Shifts the origin notion of the given configuration.
|
|
void | InitVelocity (MotorJointConf &object, std::vector< BodyConstraint > &bodies, const StepConf &step, const ConstraintSolverConf &conf) |
| Initializes velocity constraint data based on the given solver data. More...
|
|
bool | SolveVelocity (MotorJointConf &object, std::vector< BodyConstraint > &bodies, const StepConf &step) |
| Solves velocity constraint. More...
|
|
bool | SolvePosition (const MotorJointConf &object, std::vector< BodyConstraint > &bodies, const ConstraintSolverConf &conf) |
| Solves the position constraint. More...
|
|
constexpr auto | GetMaxForce (const MotorJointConf &object) noexcept |
| Free function for getting the maximum force value of the given configuration.
|
|
constexpr auto | SetMaxForce (MotorJointConf &object, NonNegative< Force > value) noexcept |
| Free function for setting the maximum force value of the given configuration.
|
|
constexpr auto | GetMaxTorque (const MotorJointConf &object) noexcept |
| Free function for getting the maximum torque value of the given configuration.
|
|
constexpr auto | SetMaxTorque (MotorJointConf &object, NonNegative< Torque > value) noexcept |
| Free function for setting the maximum torque value of the given configuration.
|
|
constexpr auto | GetLinearError (const MotorJointConf &object) noexcept |
| Free function for getting the linear error value of the given configuration.
|
|
constexpr auto | GetAngularError (const MotorJointConf &object) noexcept |
| Free function for getting the angular error value of the given configuration.
|
|
constexpr auto | GetLinearOffset (const MotorJointConf &object) noexcept |
| Free function for getting the linear offset value of the given configuration.
|
|
constexpr auto | SetLinearOffset (MotorJointConf &object, Length2 value) noexcept |
| Free function for setting the linear offset value of the given configuration.
|
|
constexpr auto | GetAngularOffset (const MotorJointConf &object) noexcept |
| Free function for getting the angular offset value of the given configuration.
|
|
constexpr auto | SetAngularOffset (MotorJointConf &object, Angle value) noexcept |
| Free function for setting the angular offset value of the given configuration.
|
|
constexpr auto | GetCorrectionFactor (const MotorJointConf &object) noexcept |
| Free function for getting the correction factor value of the given configuration.
|
|
constexpr auto | SetCorrectionFactor (MotorJointConf &object, Real value) noexcept |
| Free function for setting the correction factor value of the given configuration.
|
|
void | Set (JointConf &def, const Joint &joint) noexcept |
| Sets the joint definition data for the given joint.
|
|
Motor joint definition.
A motor joint is used to control the relative motion between two bodies. A typical usage is to control the movement of a dynamic body with respect to the ground.
- See also
- Joint, World::CreateJoint
- Examples
- MotorJoint.cpp.