Struct MotorJoint
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
Drives the relative position and velocity of two bodies.
public readonly record struct MotorJoint : IEquatable<MotorJoint>Implements
Inherited Members
Properties
- AngularDampingRatio
-
Gets or sets the rotational spring damping ratio.
- AngularHertz
-
Gets or sets the rotational spring stiffness in cycles per second.
- AngularVelocity
-
Gets or sets the relative angular velocity driven towards.
- AsJoint
-
Gets the generic handle, carrying what every joint has in common.
- LinearDampingRatio
-
Gets or sets the positional spring damping ratio.
- LinearHertz
-
Gets or sets the positional spring stiffness in cycles per second.
- LinearVelocity
-
Gets or sets the relative linear velocity driven towards.
- MaxSpringForce
-
Gets or sets the maximum positional spring force, in newtons.
- MaxSpringTorque
-
Gets or sets the maximum rotational spring torque, in newton-metres.
- MaxVelocityForce
-
Gets or sets the maximum force the velocity motor may apply, in newtons.
- MaxVelocityTorque
-
Gets or sets the maximum torque the velocity motor may apply, in newton-metres.
Methods
- Destroy(bool)
-
Destroys this joint.