CollisionSpace holds collection of objects considered together for resolution of inter-object collisions. Contains multiple CollidableShape, CollidableOffset, or CollisionSpace nodes (containerField='collidables').
The CollisionSpace node belongs to the RigidBodyPhysics component and its container field is children. It is available since X3D version 3.2 or later.
SFNode [in, out] metadata NULL
Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.
SFBool [in, out] enabled TRUE
Enables/disables node operation.
SFBool [in, out] useGeometry FALSE
UseGeometry indicates whether collision-detection code checks down to level of geometry, or only make approximations using geometry bounds.
Testing against object bounds is usually sufficient.
Using geometry is more accurate but slower.
SFVec3f [ ] bboxSize -1 -1 -1
Bounding box size is usually omitted, and can easily be calculated automatically by an X3D player at scene-loading time with minimal computational cost. Bounding box size can also be defined as an optional authoring hint that suggests an optimization or constraint.
Can be useful for collision computations or inverse-kinematics (IK) engines.
SFVec3f [ ] bboxCenter 0 0 0
Bounding box center: optional hint for position offset from origin of local coordinate system.
MFNode [in, out] collidables [ ] [X3DNBodyCollisionSpaceNode,
Input/Output field collidables.