Interface MotorJoint
- All Superinterfaces:
X3DNode
,X3DRigidJointNode
- All Known Implementing Classes:
MotorJoint
MotorJoint drives relative angular velocities between body1 and body2 within a common reference frame.
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the
org.web3d.x3d.jsail
classes.
MotorJoint 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:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Provide boolean value from initializeOnly SFBool field named autoCalc.float
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis1Angle.float
Provide float value from inputOutput SFFloat field named axis1Torque.float
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis2Angle.float
Provide float value from inputOutput SFFloat field named axis2Torque.float
Provide float value unit axis, angle (in radians) from inputOutput SFFloat field named axis3Angle.float
Provide float value from inputOutput SFFloat field named axis3Torque.getBody1()
Provide org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.getBody2()
Provide org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.int
Provide int value within allowed range of [0,3] from inputOutput SFInt32 field named enabledAxes.String[]
Provide array of String enumeration results (baseType MFString) ['"ALL"' | '"NONE"' | '"etc."'] from inputOutput MFString field named forceOutput.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.float
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1Angle.float
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor1AngleRate.float[]
Provide array of 3-tuple float results from inputOutput SFVec3f field named motor1Axis.float
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2Angle.float
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor2AngleRate.float[]
Provide array of 3-tuple float results from inputOutput SFVec3f field named motor2Axis.float
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3Angle.float
Provide float value unit axis, angle (in radians) from outputOnly SFFloat field named motor3AngleRate.float[]
Provide array of 3-tuple float results from inputOutput SFVec3f field named motor3Axis.float
Provide float value from inputOutput SFFloat field named stop1Bounce.float
Provide float value from inputOutput SFFloat field named stop1ErrorCorrection.float
Provide float value from inputOutput SFFloat field named stop2Bounce.float
Provide float value from inputOutput SFFloat field named stop2ErrorCorrection.float
Provide float value from inputOutput SFFloat field named stop3Bounce.float
Provide float value from inputOutput SFFloat field named stop3ErrorCorrection.setAutoCalc
(boolean newValue) Accessor method to assign boolean value to initializeOnly SFBool field named autoCalc.setAxis1Angle
(float newValue) Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis1Angle.setAxis1Torque
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named axis1Torque.setAxis2Angle
(float newValue) Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis2Angle.setAxis2Torque
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named axis2Torque.setAxis3Angle
(float newValue) Accessor method to assign float value unit axis, angle (in radians) to inputOutput SFFloat field named axis3Angle.setAxis3Torque
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named axis3Torque.Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.setEnabledAxes
(int newValue) Accessor method to assign int value to inputOutput SFInt32 field named enabledAxes.setForceOutput
(String[] newValue) Accessor method to assign String enumeration array (""ALL"" | ""NONE"") to inputOutput MFString field named forceOutput.setMetadata
(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setMotor1Axis
(float[] newValue) Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor1Axis.setMotor2Axis
(float[] newValue) Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor2Axis.setMotor3Axis
(float[] newValue) Accessor method to assign 3-tuple float array to inputOutput SFVec3f field named motor3Axis.setStop1Bounce
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named stop1Bounce.setStop1ErrorCorrection
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named stop1ErrorCorrection.setStop2Bounce
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named stop2Bounce.setStop2ErrorCorrection
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named stop2ErrorCorrection.setStop3Bounce
(float newValue) Accessor method to assign float value to inputOutput SFFloat field named stop3Bounce.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
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.- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- Returns:
- value of axis1Angle field
-
setAxis1Angle
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.- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- 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
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.- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- Returns:
- value of axis2Angle field
-
setAxis2Angle
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.- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- 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
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.- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- Returns:
- value of axis3Angle field
-
setAxis3Angle
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.- Hint: radian units for angular measure https://en.wikipedia.org/wiki/Radian
- 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
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.
Tooltip: [RigidBody] The body1 and body2 fields indicate the two RigidBody nodes connected by this joint. *- Specified by:
getBody1
in interfaceX3DRigidJointNode
- Returns:
- value of body1 field
-
setBody1
Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
Tooltip: [RigidBody] The body1 and body2 fields indicate the two RigidBody nodes connected by this joint. *- Specified by:
setBody1
in interfaceX3DRigidJointNode
- 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.
Tooltip: [RigidBody] The body1 and body2 fields indicate the two RigidBody nodes connected by this joint. *- Specified by:
getBody2
in interfaceX3DRigidJointNode
- Returns:
- value of body2 field
-
setBody2
Accessor method to assign org.web3d.x3d.sai.RigidBodyPhysics.RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
Tooltip: [RigidBody] The body1 and body2 fields indicate the two RigidBody nodes connected by this joint. *- Specified by:
setBody2
in interfaceX3DRigidJointNode
- 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
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
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 interfaceX3DRigidJointNode
- Returns:
- value of forceOutput field
-
setForceOutput
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 interfaceX3DRigidJointNode
- 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.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/core.html#Metadata
- Specified by:
getMetadata
in interfaceX3DNode
- Specified by:
getMetadata
in interfaceX3DRigidJointNode
- Returns:
- value of metadata field
- See Also:
-
setMetadata
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.- Hint: X3D Architecture 7.2.4 Metadata https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS /Part01/components/core.html#Metadata
- Specified by:
setMetadata
in interfaceX3DNode
- Specified by:
setMetadata
in interfaceX3DRigidJointNode
- 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:
-
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 about this axis.
- Returns:
- value of motor1Axis field
-
setMotor1Axis
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 about this axis.
- 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 about this axis.
- Returns:
- value of motor2Axis field
-
setMotor2Axis
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 about this axis.
- 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 about this axis.
- Returns:
- value of motor3Axis field
-
setMotor3Axis
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 about this axis.
- 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
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
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
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
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
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
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).
-