instantreality 1.0

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

RigidBody

Inheritance

Code

XML encoding
<RigidBody angularDampingFactor='0.001'
angularVelocity='0 0 0'
autoDamp='FALSE'
autoDisable='FALSE'
centerOfMass='0 0 0'
disableAngularSpeed='0'
disableLinearSpeed='0'
disableTime='0'
enabled='TRUE'
finiteRotationAxis='0 0 0'
fixed='FALSE'
forces='[]'
inertia='1 0 0 0 1 0 0 0'
linearDampingFactor='0.001'
linearVelocity='0 0 0'
mass='1'
orientation='0 0 1 0'
position='0 0 0'
torques=''
useFiniteRotation='FALSE'
useGlobalGravity='TRUE'
center='0 0 0'
rotation='0 0 1 0'
scale='1 1 1'
scaleOrientation='0 0 1 0'
translation='0 0 0'
invert='FALSE'
showProxyGeometry='FALSE'
bboxCenter='0 0 0'
bboxSize='-1 -1 -1'
render='TRUE'
showBBox='FALSE'
logFeature=''
 />
Classic encoding
RigidBody {
	angularDampingFactor 0.001
	angularVelocity 0 0 0
	autoDamp FALSE
	autoDisable FALSE
	centerOfMass 0 0 0
	disableAngularSpeed 0
	disableLinearSpeed 0
	disableTime 0
	enabled TRUE
	finiteRotationAxis 0 0 0
	fixed FALSE
	forces [[]]
	inertia 1 0 0 0 1 0 0 0
	linearDampingFactor 0.001
	linearVelocity 0 0 0
	mass 1
	orientation 0 0 1 0
	position 0 0 0
	torques []
	useFiniteRotation FALSE
	useGlobalGravity TRUE
	center 0 0 0
	rotation 0 0 1 0
	scale 1 1 1
	scaleOrientation 0 0 1 0
	translation 0 0 0
	invert FALSE
	showProxyGeometry FALSE
	bboxCenter 0 0 0
	bboxSize -1 -1 -1
	render TRUE
	showBBox FALSE
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFFloat angularDampingFactor SFFloat inputOutput 0.001 [0, 1]
SFVec3f angularVelocity SFVec3f inputOutput 0 0 0 (-Inf, Inf)
SFBool autoDamp SFBool inputOutput FALSE
SFBool autoDisable SFBool inputOutput FALSE
SFVec3f centerOfMass SFVec3f inputOutput 0 0 0 (-Inf, Inf)
SFFloat disableAngularSpeed SFFloat inputOutput 0 [0, Inf)
SFFloat disableLinearSpeed SFFloat inputOutput 0 [0, Inf)
SFFloat disableTime SFFloat inputOutput 0 [0, Inf)
SFBool enabled SFBool inputOutput TRUE
SFVec3f finiteRotationAxis SFVec3f inputOutput 0 0 0 [-1, 1]
SFBool fixed SFBool inputOutput FALSE
MFVec3f forces MFVec3f inputOutput []
MFNode geometry MFNode inputOutput [] NBodyCollidableNode
SFMatrix3f inertia SFMatrix3f inputOutput 1 0 0 0 1 0 0 0 1
SFFloat linearDampingFactor SFFloat inputOutput 0.001 [0, 1]
SFVec3f linearVelocity SFVec3f inputOutput 0 0 0 (-Inf, Inf)
SFFloat mass SFFloat inputOutput 1 (0, Inf)
SFNode massDensityModel SFNode inputOutput NULL SpatialGeometry
SFRotation orientation SFRotation inputOutput 0 0 1 0 [0, 1]
SFVec3f position SFVec3f inputOutput 0 0 0 (-Inf, Inf)
MFVec3f torques MFVec3f inputOutput
SFBool useFiniteRotation SFBool inputOutput FALSE
SFBool useGlobalGravity SFBool inputOutput TRUE
SFVec3f center SFVec3f inputOutput 0 0 0 Translation offset from origin of local coordinate system.
SFRotation rotation SFRotation inputOutput 0 0 1 0 Orientation of children relative to local coordinate system.
SFVec3f scale SFVec3f inputOutput 1 1 1 Non-uniform x-y-z scale of child coordinate system, adjusted by center and scaleOrientation.
SFRotation scaleOrientation SFRotation inputOutput 0 0 1 0 Preliminary rotation of coordinate system before scaling (to allow scaling around arbitrary orientations).
SFVec3f translation SFVec3f inputOutput 0 0 0 Position of children relative to local coordinate system.
SFMatrix4f matrix_changed SFMatrix4f outputOnly The matrix that defines the nodes transformation after an update.
SFBool invert SFBool inputOutput FALSE inverts matrix if true
SFBool showProxyGeometry SFBool inputOutput FALSE show cartesian coordinate system
MFNode children MFNode inputOutput Node field that contains a list of children nodes
MFNode addChildren MFNode inputOnly The addChildren event appends nodes to the children field of a grouping node. Any nodes passed to the addChildren inputOnly field that are already in the children list of the grouping node are ignored
MFNode removeChildren MFNode inputOnly The removeChildren event removes nodes from the children fieldof the grouping node . Any nodes in the removeChildren event that are not in the children list of the grouping node are ignored
SFVec3f bboxCenter SFVec3f initializeOnly 0 0 0 Bounding box center: position offset from origin of local coordinate system.
SFVec3f bboxSize SFVec3f initializeOnly -1 -1 -1 Bounding box size: automatically calculated, can be specified as an optimization or constraint.
SFBool render SFBool inputOutput TRUE Flag to control the visibility of the node or subtree
SFBool showBBox SFBool inputOutput FALSE Show Bounding Box of Subtree.
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