instantreality 1.0

Component:
RigidBodyPhysics
Status:
experimental
Structure type:
abstract
Standard:
X3D3.2

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
MFString appliedParameters MFString inputOutput BOUNCE []
SFNode body1 SFNode inputOutput NULL [RigidBody]
SFNode body2 SFNode inputOutput NULL [RigidBody]
SFFloat bounce SFFloat inputOutput 0 [0, 1]
SFVec3f contactNormal SFVec3f inputOutput 0 1 0 (-∞, ∞)
SFFloat depth SFFloat inputOutput 0 (-∞, ∞)
SFVec2f frictionCoefficients SFVec2f inputOutput 0 0 [0, ∞)
SFVec3f frictionDirection SFVec3f inputOutput 0 1 0 (-∞, ∞)
SFNode geometry1 SFNode inputOutput NULL NBodyCollidableNode
SFNode geometry2 SFNode inputOutput NULL NBodyCollidableNode
MFString 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
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFFloat minbounceSpeed SFFloat inputOutput 0 [0, ∞)
SFVec3f position SFVec3f inputOutput 0 0 0 (-∞, ∞)
SFVec2f slipCoefficients SFVec2f inputOutput 0 0 (-∞, ∞)
SFFloat softnessConstantForceMix SFFloat inputOutput 0.0001 [0, 1]
SFFloat softnessErrorCorrection SFFloat inputOutput 0.8 [0, 1]
SFVec2f surfaceSpeed SFVec2f inputOutput 0 0 (-∞, ∞)