Contact
Inheritance
Code
XML encoding
<Contact appliedParameters='BOUNCE' bounce='0' contactNormal='0 1 0' depth='0' frictionCoefficients='0 0' frictionDirection='0 1 0' minbounceSpeed='0' position='0 0 0' slipCoefficients='0 0' softnessConstantForceMix='0.0001' softnessErrorCorrection='0.8' surfaceSpeed='0 0' logFeature='' />
Classic encoding
Contact { appliedParameters ["BOUNCE"] bounce 0 contactNormal 0 1 0 depth 0 frictionCoefficients 0 0 frictionDirection 0 1 0 minbounceSpeed 0 position 0 0 0 slipCoefficients 0 0 softnessConstantForceMix 0.0001 softnessErrorCorrection 0.8 surfaceSpeed 0 0 logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
appliedParameters | MFString | inputOutput | BOUNCE | [] | ||
body1 | SFNode | inputOutput | NULL | [RigidBody] | ||
body2 | SFNode | inputOutput | NULL | [RigidBody] | ||
bounce | SFFloat | inputOutput | 0 | [0, 1] | ||
contactNormal | SFVec3f | inputOutput | 0 1 0 | (-∞, ∞) | ||
depth | SFFloat | inputOutput | 0 | (-∞, ∞) | ||
frictionCoefficients | SFVec2f | inputOutput | 0 0 | [0, ∞) | ||
frictionDirection | SFVec3f | inputOutput | 0 1 0 | (-∞, ∞) | ||
geometry1 | SFNode | inputOutput | NULL | NBodyCollidableNode | ||
geometry2 | SFNode | inputOutput | NULL | NBodyCollidableNode | ||
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 | ||
minbounceSpeed | SFFloat | inputOutput | 0 | [0, ∞) | ||
position | SFVec3f | inputOutput | 0 0 0 | (-∞, ∞) | ||
slipCoefficients | SFVec2f | inputOutput | 0 0 | (-∞, ∞) | ||
softnessConstantForceMix | SFFloat | inputOutput | 0.0001 | [0, 1] | ||
softnessErrorCorrection | SFFloat | inputOutput | 0.8 | [0, 1] | ||
surfaceSpeed | SFVec2f | inputOutput | 0 0 | (-∞, ∞) |