|
| | MotorSettings ()=default |
| | Constructor.
|
| |
| | MotorSettings (const MotorSettings &)=default |
| |
| MotorSettings & | operator= (const MotorSettings &)=default |
| |
| | MotorSettings (ESpringMode inMode, float inFrequency, float inDamping) |
| |
| | MotorSettings (float inFrequency, float inDamping) |
| |
| | MotorSettings (ESpringMode inMode, float inFrequency, float inDamping, float inForceLimit, float inTorqueLimit) |
| |
| | MotorSettings (float inFrequency, float inDamping, float inForceLimit, float inTorqueLimit) |
| |
| void | SetForceLimits (float inMin, float inMax) |
| | Set asymmetric force limits.
|
| |
| void | SetTorqueLimits (float inMin, float inMax) |
| | Set asymmetric torque limits.
|
| |
| void | SetForceLimit (float inLimit) |
| | Set symmetric force limits.
|
| |
| void | SetTorqueLimit (float inLimit) |
| | Set symmetric torque limits.
|
| |
| bool | IsValid () const |
| | Check if settings are valid.
|
| |
| void | SaveBinaryState (StreamOut &inStream) const |
| | Saves the contents of the motor settings in binary form to inStream.
|
| |
| void | RestoreBinaryState (StreamIn &inStream) |
| | Restores contents from the binary stream inStream.
|
| |
|
| SpringSettings | mSpringSettings { ESpringMode::FrequencyAndDamping, 2.0f, 1.0f } |
| | Settings for the spring that is used to drive to the position target (not used when motor is a velocity motor).
|
| |
| float | mMinForceLimit = -FLT_MAX |
| | Minimum force to apply in case of a linear constraint (N). Usually this is -mMaxForceLimit unless you want a motor that can e.g. push but not pull. Not used when motor is an angular motor.
|
| |
| float | mMaxForceLimit = FLT_MAX |
| | Maximum force to apply in case of a linear constraint (N). Not used when motor is an angular motor.
|
| |
| float | mMinTorqueLimit = -FLT_MAX |
| | Minimum torque to apply in case of a angular constraint (N m). Usually this is -mMaxTorqueLimit unless you want a motor that can e.g. push but not pull. Not used when motor is a linear motor.
|
| |
| float | mMaxTorqueLimit = FLT_MAX |
| | Maximum torque to apply in case of a angular constraint (N m). Not used when motor is a linear motor.
|
| |
Class that contains the settings for a constraint motor. See the main page of the API documentation for more information on how to configure a motor.