Table of Contents

Struct b3SphericalJointDef

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

Pins a point on body B to a point on body A, allowing rotation about that shared point. Mirror of b3SphericalJointDef.

public struct b3SphericalJointDef

Inherited Members

Remarks

Also called a ball-in-socket or point-to-point joint.

Fields

base

The shared joint fields.

coneAngle

The cone half angle in radians, in the range zero to pi.

dampingRatio

The spring damping ratio. Non-negative and non-dimensional.

enableConeLimit

Whether the cone limit is enabled. The cone is centred on the z axis of frame A.

enableMotor

Whether the motor is enabled.

enableSpring

Whether a rotational spring aligns the two joint frames.

enableTwistLimit

Whether the twist limit is enabled. The twist is about the z axis of frame B.

hertz

The spring stiffness in cycles per second. Non-negative.

lowerTwistAngle

The lower twist limit in radians. At least minus 0.99 pi.

maxMotorTorque

The maximum motor torque, usually in newton-metres. Non-negative.

motorVelocity

The desired motor angular velocity in radians per second.

targetRotation

The target rotation of frame B relative to frame A.

upperTwistAngle

The upper twist limit in radians. At most 0.99 pi.