MotorJoint
Inheritance
Code
XML encoding
<MotorJoint axis1Angle='0' axis1Torque='0' axis2Angle='0' axis2Torque='0' axis3Angle='0' axis3Torque='0' enabledAxes='1' motor1Axis='0 0' motor2Axis='0 0' motor3Axis='0 0' stop1Bounce='0' stop1ErrorCorrection='0.8' stop2Bounce='0' stop2ErrorCorrection='0.8' stop3Bounce='0' stop3ErrorCorrection='0.8' autoCalc='FALSE' mustOutput='NONE' logFeature='' />
Classic encoding
MotorJoint { axis1Angle 0 axis1Torque 0 axis2Angle 0 axis2Torque 0 axis3Angle 0 axis3Torque 0 enabledAxes 1 motor1Axis 0 0 motor2Axis 0 0 motor3Axis 0 0 stop1Bounce 0 stop1ErrorCorrection 0.8 stop2Bounce 0 stop2ErrorCorrection 0.8 stop3Bounce 0 stop3ErrorCorrection 0.8 autoCalc FALSE mustOutput ["NONE"] logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
autoCalc | SFBool | initializeOnly | FALSE | |||
axis1Angle | SFFloat | inputOutput | 0 | [-3.1415926, 3.1415926] | ||
axis1Torque | SFFloat | inputOutput | 0 | (-Inf, Inf) | ||
axis2Angle | SFFloat | inputOutput | 0 | [-3.1415926, 3.1415926] | ||
axis2Torque | SFFloat | inputOutput | 0 | (-Inf, Inf) | ||
axis3Angle | SFFloat | inputOutput | 0 | [-3.1415926, 3.1415926] | ||
axis3Torque | SFFloat | inputOutput | 0 | (-Inf, Inf) | ||
body1 | SFNode | inputOutput | NULL | RigidBody | ||
body2 | SFNode | inputOutput | NULL | RigidBody | ||
enabledAxes | SFInt32 | inputOutput | 1 | [0, 3] | ||
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
motor1Angle | SFFloat | outputOnly | ||||
motor1AngleRate | SFFloat | outputOnly | ||||
motor1Axis | SFVec3f | inputOutput | 0 0 | 0 | ||
motor2Angle | SFFloat | outputOnly | ||||
motor2AngleRate | SFFloat | outputOnly | ||||
motor2Axis | SFVec3f | inputOutput | 0 0 | 0 | ||
motor3Angle | SFFloat | outputOnly | ||||
motor3AngleRate | SFFloat | outputOnly | ||||
motor3Axis | SFVec3f | inputOutput | 0 0 | 0 | ||
mustOutput | MFString | inputOutput | NONE | [ALL, NONE] | ||
stop1Bounce | SFFloat | inputOutput | 0 | [0, 1] | ||
stop1ErrorCorrection | SFFloat | inputOutput | 0.8 | [0, 1] | ||
stop2Bounce | SFFloat | inputOutput | 0 | [0, 1] | ||
stop2ErrorCorrection | SFFloat | inputOutput | 0.8 | [0, 1] | ||
stop3Bounce | SFFloat | inputOutput | 0 | [0, 1] | ||
stop3ErrorCorrection | SFFloat | inputOutput | 0.8 | [0, 1] |