Struct ParallelJointDefinition
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
Keeps the z axes of the two joint frames aligned, using a spring.
public readonly record struct ParallelJointDefinition : IEquatable<ParallelJointDefinition>Implements
Inherited Members
Remarks
Useful for keeping a body upright without locking its rotation outright.
Properties
- Base
-
Gets the settings shared by every joint.
- DampingRatio
-
Gets the spring damping ratio.
- Default
-
Gets the engine defaults, with no bodies attached.
- Hertz
-
Gets the spring stiffness in cycles per second.
- MaxTorque
-
Gets the maximum torque the spring may apply, in newton-metres.