Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.0

Bring Colours to Your Life.

X3D Reference

SliderJoint

SliderJoint

SliderJoint constrains all movement between body1 and body2 along a single axis. Contains two RigidBody nodes (containerField values body1, body2).

The SliderJoint node belongs to the RigidBodyPhysics component and its container field is joints. It is available since X3D version 3.2 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

MFString [in, out] forceOutput "NONE" ["ALL","NONE",...]

ForceOutput controls which output fields are generated for the next frame. Values are ALL, NONE, or exact names of output fields updated at start of next frame.

SFVec3f [in, out] axis 0 1 0

Axis is normalized vector specifying direction of motion.

SFFloat [in, out] minSeparation [0,∞)

MinSeparation is minimum separation distance between the two bodies.

Hint

If (minSeparation is less than maxSeparation) then no stop is effective.

SFFloat [in, out] maxSeparation 1 [0,∞)

MaxSeparation is maximum separation distance between the two bodies.

Hint

If (minSeparation is less than maxSeparation) then no stop is effective.

SFFLoat [in, out] sliderForce 0 not supported

Input/Output field sliderForce.

SFFloat [in, out] stopBounce [0,1] not supported

StopBounce is velocity factor for bounce back once stop point is reached.

Hint

0 means no bounce, 1 means return velocity matches.

SFFloat [in, out] stopErrorCorrection 1 [0,1] not supported

StopErrorCorrection is fraction of error correction performed during time step once stop point is reached.

Hint

0 means no error correction, 1 means all error corrected in single step.

SFFloat [out] separation not supported

Separation indicates final separation distance between the two bodies.

SFFloat [out] separationRate not supported

SeparationRate indicates change in separation distance over time between the two bodies.

SFNode [in, out] body1 NULL [RigidBody]

Input/Output field body1.

SFNode [in, out] body2 NULL [RigidBody]

Input/Output field body2.

Description

Hint

  • RigidBodyPhysics component, level 2.

Example

SliderJoint

Downlod ZIP file

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
partially partially

External Links