Table of Contents

Struct b3MotorJointDef

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

Controls the relative position and velocity of two bodies while staying responsive to collisions. Mirror of b3MotorJointDef.

public struct b3MotorJointDef

Inherited Members

Remarks

A spring controls position and rotation while a velocity motor controls velocity; both may be combined, and each has its own force and torque limit.

Fields

angularDampingRatio

The angular spring damping ratio.

angularHertz

The angular spring stiffness in cycles per second.

angularVelocity

The desired relative angular velocity.

base

The shared joint fields.

linearDampingRatio

The linear spring damping ratio.

linearHertz

The linear spring stiffness in cycles per second.

linearVelocity

The desired relative linear velocity.

maxSpringForce

The maximum linear spring force, in newtons.

maxSpringTorque

The maximum angular spring torque, in newton-metres.

maxVelocityForce

The maximum force the velocity motor may apply, in newtons.

maxVelocityTorque

The maximum torque the velocity motor may apply, in newton-metres.