Interface MotorJoint

All Superinterfaces:
X3DNode, X3DRigidJointNode
All Known Implementing Classes:
MotorJoint

public interface MotorJoint
extends X3DRigidJointNode
MotorJoint drives relative angular velocities between body1 and body2 within a common reference frame.

X3D node tooltip: (X3D version 3.2 or later) [X3DRigidJointNode] MotorJoint drives relative angular velocities between body1 and body2 within a common reference frame. Contains two RigidBody nodes (containerField values body1, body2).
  • Hint: useful in combination with BallJoint.
  • Hint: RigidBodyPhysics component, level 2.

Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also:
SAI Java Specification, X3D Abstract Specification: MotorJoint, X3D Tooltips: MotorJoint, X3D Scene Authoring Hints
  • Method Summary

    Modifier and Type Method Description
    boolean getAutoCalc()
    Provide boolean value from initializeOnly SFBool field named autoCalc.
    float getAxis1Angle()
    Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis1Angle.
    float getAxis1Torque()
    Provide float value from inputOutput SFFloat field named axis1Torque.
    float getAxis2Angle()
    Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis2Angle.
    float getAxis2Torque()
    Provide float value from inputOutput SFFloat field named axis2Torque.
    float getAxis3Angle()
    Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis3Angle.
    float getAxis3Torque()
    Provide float value from inputOutput SFFloat field named axis3Torque.
    RigidBody getBody1()
    Provide org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.
    RigidBody getBody2()
    Provide org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.
    int getEnabledAxes()
    Provide int value within allowed range of [0,3] from inputOutput SFInt32 field named enabledAxes.
    java.lang.String[] getForceOutput()
    Provide array of String enumeration results (baseType MFString) ['"ALL"' | '"NONE"' | '"etc."'] from inputOutput MFString field named forceOutput.
    X3DMetadataObject getMetadata()
    Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
    float getMotor1Angle()
    Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1Angle.
    float getMotor1AngleRate()
    Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1AngleRate.
    float[] getMotor1Axis()
    Provide array of 3-tuple float results from inputOutput SFVec3f field named motor1Axis.
    float getMotor2Angle()
    Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2Angle.
    float getMotor2AngleRate()
    Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2AngleRate.
    float[] getMotor2Axis()
    Provide array of 3-tuple float results from inputOutput SFVec3f field named motor2Axis.
    float getMotor3Angle()
    Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3Angle.
    float getMotor3AngleRate()
    Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3AngleRate.
    float[] getMotor3Axis()
    Provide array of 3-tuple float results from inputOutput SFVec3f field named motor3Axis.
    float getStop1Bounce()
    Provide float value from inputOutput SFFloat field named stop1Bounce.
    float getStop1ErrorCorrection()
    Provide float value from inputOutput SFFloat field named stop1ErrorCorrection.
    float getStop2Bounce()
    Provide float value from inputOutput SFFloat field named stop2Bounce.
    float getStop2ErrorCorrection()
    Provide float value from inputOutput SFFloat field named stop2ErrorCorrection.
    float getStop3Bounce()
    Provide float value from inputOutput SFFloat field named stop3Bounce.
    float getStop3ErrorCorrection()
    Provide float value from inputOutput SFFloat field named stop3ErrorCorrection.
    MotorJoint setAutoCalc​(boolean newValue)
    Accessor method to assign boolean value to initializeOnly SFBool field named autoCalc.
    MotorJoint setAxis1Angle​(float newValue)
    Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis1Angle.
    MotorJoint setAxis1Torque​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named axis1Torque.
    MotorJoint setAxis2Angle​(float newValue)
    Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis2Angle.
    MotorJoint setAxis2Torque​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named axis2Torque.
    MotorJoint setAxis3Angle​(float newValue)
    Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis3Angle.
    MotorJoint setAxis3Torque​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named axis3Torque.
    MotorJoint setBody1​(RigidBody newValue)
    Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
    MotorJoint setBody2​(RigidBody newValue)
    Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
    MotorJoint setEnabledAxes​(int newValue)
    Accessor method to assign int value to inputOutput SFInt32 field named enabledAxes.
    MotorJoint setForceOutput​(java.lang.String[] newValue)
    Accessor method to assign String enumeration array (""ALL"" | ""NONE"") to inputOutput MFString field named forceOutput.
    MotorJoint setMetadata​(X3DMetadataObject newValue)
    Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
    MotorJoint setMotor1Axis​(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor1Axis.
    MotorJoint setMotor2Axis​(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor2Axis.
    MotorJoint setMotor3Axis​(float[] newValue)
    Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor3Axis.
    MotorJoint setStop1Bounce​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named stop1Bounce.
    MotorJoint setStop1ErrorCorrection​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named stop1ErrorCorrection.
    MotorJoint setStop2Bounce​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named stop2Bounce.
    MotorJoint setStop2ErrorCorrection​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named stop2ErrorCorrection.
    MotorJoint setStop3Bounce​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named stop3Bounce.
    MotorJoint setStop3ErrorCorrection​(float newValue)
    Accessor method to assign float value to inputOutput SFFloat field named stop3ErrorCorrection.
  • Method Details

    • getAutoCalc

      boolean getAutoCalc()
      Provide boolean value from initializeOnly SFBool field named autoCalc.

      Tooltip: autoCalc controls whether user manually provides individual angle rotations each frame (false) or if angle values are automatically calculated by motor implementations (true). *
      Returns:
      value of autoCalc field
    • setAutoCalc

      MotorJoint setAutoCalc​(boolean newValue)
      Accessor method to assign boolean value to initializeOnly SFBool field named autoCalc.

      Tooltip: autoCalc controls whether user manually provides individual angle rotations each frame (false) or if angle values are automatically calculated by motor implementations (true). *
      Parameters:
      newValue - is new value for the autoCalc field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getAxis1Angle

      float getAxis1Angle()
      Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis1Angle.

      Tooltip: axis1Angle (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
      Returns:
      value of axis1Angle field
    • setAxis1Angle

      MotorJoint setAxis1Angle​(float newValue)
      Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis1Angle.

      Tooltip: axis1Angle (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
      Parameters:
      newValue - is new value for the axis1Angle field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getAxis1Torque

      float getAxis1Torque()
      Provide float value from inputOutput SFFloat field named axis1Torque.

      Tooltip: axis1Torque is rotational torque applied by corresponding motor axis when in user-calculated mode. *
      Returns:
      value of axis1Torque field
    • setAxis1Torque

      MotorJoint setAxis1Torque​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named axis1Torque.

      Tooltip: axis1Torque is rotational torque applied by corresponding motor axis when in user-calculated mode. *
      Parameters:
      newValue - is new value for the axis1Torque field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getAxis2Angle

      float getAxis2Angle()
      Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis2Angle.

      Tooltip: axis2Angle (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
      Returns:
      value of axis2Angle field
    • setAxis2Angle

      MotorJoint setAxis2Angle​(float newValue)
      Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis2Angle.

      Tooltip: axis2Angle (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
      Parameters:
      newValue - is new value for the axis2Angle field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getAxis2Torque

      float getAxis2Torque()
      Provide float value from inputOutput SFFloat field named axis2Torque.

      Tooltip: axis2Torque is rotational torque applied by corresponding motor axis when in user-calculated mode. *
      Returns:
      value of axis2Torque field
    • setAxis2Torque

      MotorJoint setAxis2Torque​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named axis2Torque.

      Tooltip: axis2Torque is rotational torque applied by corresponding motor axis when in user-calculated mode. *
      Parameters:
      newValue - is new value for the axis2Torque field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getAxis3Angle

      float getAxis3Angle()
      Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis3Angle.

      Tooltip: axis3Angle (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
      Returns:
      value of axis3Angle field
    • setAxis3Angle

      MotorJoint setAxis3Angle​(float newValue)
      Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis3Angle.

      Tooltip: axis3Angle (radians) is rotation angle for corresponding motor axis when in user-calculated mode.
      Parameters:
      newValue - is new value for the axis3Angle field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getAxis3Torque

      float getAxis3Torque()
      Provide float value from inputOutput SFFloat field named axis3Torque.

      Tooltip: axis3Torque is rotational torque applied by corresponding motor axis when in user-calculated mode. *
      Returns:
      value of axis3Torque field
    • setAxis3Torque

      MotorJoint setAxis3Torque​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named axis3Torque.

      Tooltip: axis3Torque is rotational torque applied by corresponding motor axis when in user-calculated mode. *
      Parameters:
      newValue - is new value for the axis3Torque field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBody1

      RigidBody getBody1()
      Provide org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.
      Specified by:
      getBody1 in interface X3DRigidJointNode
      Returns:
      value of body1 field
    • setBody1

      MotorJoint setBody1​(RigidBody newValue)
      Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
      Specified by:
      setBody1 in interface X3DRigidJointNode
      Parameters:
      newValue - is new value for the body1 field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getBody2

      RigidBody getBody2()
      Provide org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.
      Specified by:
      getBody2 in interface X3DRigidJointNode
      Returns:
      value of body2 field
    • setBody2

      MotorJoint setBody2​(RigidBody newValue)
      Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
      Specified by:
      setBody2 in interface X3DRigidJointNode
      Parameters:
      newValue - is new value for the body2 field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getEnabledAxes

      int getEnabledAxes()
      Provide int value within allowed range of [0,3] from inputOutput SFInt32 field named enabledAxes.

      Tooltip: [0,3] enabledAxes indicates which motor axes are active. (0) none, (1) axis 1, (2) axes 1 and 2, (3) all three axes. *
      Returns:
      value of enabledAxes field
    • setEnabledAxes

      MotorJoint setEnabledAxes​(int newValue)
      Accessor method to assign int value to inputOutput SFInt32 field named enabledAxes.

      Tooltip: [0,3] enabledAxes indicates which motor axes are active. (0) none, (1) axis 1, (2) axes 1 and 2, (3) all three axes. *
      Parameters:
      newValue - is new value for the enabledAxes field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getForceOutput

      java.lang.String[] getForceOutput()
      Provide array of String enumeration results (baseType MFString) ['"ALL"' | '"NONE"' | '"etc."'] from inputOutput MFString field named forceOutput.

      Tooltip: 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. *
      Specified by:
      getForceOutput in interface X3DRigidJointNode
      Returns:
      value of forceOutput field
    • setForceOutput

      MotorJoint setForceOutput​(java.lang.String[] newValue)
      Accessor method to assign String enumeration array (""ALL"" | ""NONE"") to inputOutput MFString field named forceOutput.

      Tooltip: 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. *
      Specified by:
      setForceOutput in interface X3DRigidJointNode
      Parameters:
      newValue - is new value for the forceOutput field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMetadata

      X3DMetadataObject getMetadata()
      Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.

      Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
      Specified by:
      getMetadata in interface X3DNode
      Specified by:
      getMetadata in interface X3DRigidJointNode
      Returns:
      value of metadata field
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • setMetadata

      MotorJoint setMetadata​(X3DMetadataObject newValue)
      Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.

      Tooltip: [X3DMetadataObject] Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
      Specified by:
      setMetadata in interface X3DNode
      Specified by:
      setMetadata in interface X3DRigidJointNode
      Parameters:
      newValue - is new value for the metadata field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
      See Also:
      X3D Scene Authoring Hints: Metadata Nodes
    • getMotor1Angle

      float getMotor1Angle()
      Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1Angle.

      Tooltip: motor1Angle provides calculated angle of rotation (radians) for this motor joint from last frame.
      • Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
      • Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
      Returns:
      value of motor1Angle field
    • getMotor1AngleRate

      float getMotor1AngleRate()
      Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1AngleRate.

      Tooltip: motor1AngleRate provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
      • Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
      Returns:
      value of motor1AngleRate field
    • getMotor1Axis

      float[] getMotor1Axis()
      Provide array of 3-tuple float results from inputOutput SFVec3f field named motor1Axis.

      Tooltip: motor1Axis defines axis vector of corresponding motor axis.
      • Hint: 0 0 0 means motor disabled.
      Returns:
      value of motor1Axis field
    • setMotor1Axis

      MotorJoint setMotor1Axis​(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor1Axis.

      Tooltip: motor1Axis defines axis vector of corresponding motor axis.
      • Hint: 0 0 0 means motor disabled.
      Parameters:
      newValue - is new value for the motor1Axis field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMotor2Angle

      float getMotor2Angle()
      Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2Angle.

      Tooltip: motor2Angle provides calculated angle of rotation (radians) for this motor joint from last frame.
      • Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
      • Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
      Returns:
      value of motor2Angle field
    • getMotor2AngleRate

      float getMotor2AngleRate()
      Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2AngleRate.

      Tooltip: motor2AngleRate provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
      • Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
      Returns:
      value of motor2AngleRate field
    • getMotor2Axis

      float[] getMotor2Axis()
      Provide array of 3-tuple float results from inputOutput SFVec3f field named motor2Axis.

      Tooltip: motor2Axis defines axis vector of corresponding motor axis.
      • Hint: 0 0 0 means motor disabled.
      Returns:
      value of motor2Axis field
    • setMotor2Axis

      MotorJoint setMotor2Axis​(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor2Axis.

      Tooltip: motor2Axis defines axis vector of corresponding motor axis.
      • Hint: 0 0 0 means motor disabled.
      Parameters:
      newValue - is new value for the motor2Axis field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getMotor3Angle

      float getMotor3Angle()
      Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3Angle.

      Tooltip: motor3Angle provides calculated angle of rotation (radians) for this motor joint from last frame.
      • Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
      • Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
      Returns:
      value of motor3Angle field
    • getMotor3AngleRate

      float getMotor3AngleRate()
      Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3AngleRate.

      Tooltip: motor3AngleRate provides calculated anglular rotation rate (radians/second) for this motor joint from last frame.
      • Warning: it is an error to define this transient outputOnly field in an X3D file, instead only use it a source for ROUTE events.
      Returns:
      value of motor3AngleRate field
    • getMotor3Axis

      float[] getMotor3Axis()
      Provide array of 3-tuple float results from inputOutput SFVec3f field named motor3Axis.

      Tooltip: motor3Axis defines axis vector of corresponding motor axis.
      • Hint: 0 0 0 means motor disabled.
      Returns:
      value of motor3Axis field
    • setMotor3Axis

      MotorJoint setMotor3Axis​(float[] newValue)
      Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor3Axis.

      Tooltip: motor3Axis defines axis vector of corresponding motor axis.
      • Hint: 0 0 0 means motor disabled.
      Parameters:
      newValue - is new value for the motor3Axis field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getStop1Bounce

      float getStop1Bounce()
      Provide float value from inputOutput SFFloat field named stop1Bounce.

      Tooltip: [0,1] stop1Bounce is velocity factor for bounce back once stop point is reached.
      • Hint: 0 means no bounce, 1 means return velocity matches.
      Returns:
      value of stop1Bounce field
    • setStop1Bounce

      MotorJoint setStop1Bounce​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named stop1Bounce.

      Tooltip: [0,1] stop1Bounce is velocity factor for bounce back once stop point is reached.
      • Hint: 0 means no bounce, 1 means return velocity matches.
      Parameters:
      newValue - is new value for the stop1Bounce field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getStop1ErrorCorrection

      float getStop1ErrorCorrection()
      Provide float value from inputOutput SFFloat field named stop1ErrorCorrection.

      Tooltip: [0,1] stop1ErrorCorrection 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.
      Returns:
      value of stop1ErrorCorrection field
    • setStop1ErrorCorrection

      MotorJoint setStop1ErrorCorrection​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named stop1ErrorCorrection.

      Tooltip: [0,1] stop1ErrorCorrection 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.
      Parameters:
      newValue - is new value for the stop1ErrorCorrection field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getStop2Bounce

      float getStop2Bounce()
      Provide float value from inputOutput SFFloat field named stop2Bounce.

      Tooltip: [0,1] stop2Bounce is velocity factor for bounce back once stop point is reached.
      • Hint: 0 means no bounce, 1 means return velocity matches.
      Returns:
      value of stop2Bounce field
    • setStop2Bounce

      MotorJoint setStop2Bounce​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named stop2Bounce.

      Tooltip: [0,1] stop2Bounce is velocity factor for bounce back once stop point is reached.
      • Hint: 0 means no bounce, 1 means return velocity matches.
      Parameters:
      newValue - is new value for the stop2Bounce field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getStop2ErrorCorrection

      float getStop2ErrorCorrection()
      Provide float value from inputOutput SFFloat field named stop2ErrorCorrection.

      Tooltip: [0,1] stop2ErrorCorrection 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.
      Returns:
      value of stop2ErrorCorrection field
    • setStop2ErrorCorrection

      MotorJoint setStop2ErrorCorrection​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named stop2ErrorCorrection.

      Tooltip: [0,1] stop2ErrorCorrection 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.
      Parameters:
      newValue - is new value for the stop2ErrorCorrection field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getStop3Bounce

      float getStop3Bounce()
      Provide float value from inputOutput SFFloat field named stop3Bounce.

      Tooltip: [0,1] stop3Bounce is velocity factor for bounce back once stop point is reached.
      • Hint: 0 means no bounce, 1 means return velocity matches.
      Returns:
      value of stop3Bounce field
    • setStop3Bounce

      MotorJoint setStop3Bounce​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named stop3Bounce.

      Tooltip: [0,1] stop3Bounce is velocity factor for bounce back once stop point is reached.
      • Hint: 0 means no bounce, 1 means return velocity matches.
      Parameters:
      newValue - is new value for the stop3Bounce field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
    • getStop3ErrorCorrection

      float getStop3ErrorCorrection()
      Provide float value from inputOutput SFFloat field named stop3ErrorCorrection.

      Tooltip: [0,1] stop3ErrorCorrection 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.
      Returns:
      value of stop3ErrorCorrection field
    • setStop3ErrorCorrection

      MotorJoint setStop3ErrorCorrection​(float newValue)
      Accessor method to assign float value to inputOutput SFFloat field named stop3ErrorCorrection.

      Tooltip: [0,1] stop3ErrorCorrection 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.
      Parameters:
      newValue - is new value for the stop3ErrorCorrection field.
      Returns:
      MotorJoint - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).