Class CollisionObject

java.lang.Object
org.web3d.x3d.jsail.X3DConcreteElement
org.web3d.x3d.jsail.X3DConcreteNode
org.web3d.x3d.jsail.Navigation.CollisionObject
All Implemented Interfaces:
X3DChildNode, X3DNode, X3DSensorNode, X3DBoundedObject, X3DGroupingNode, Collision

public class CollisionObject
extends X3DConcreteNode
implements Collision
Collision detects camera-to-object contact using current view and NavigationInfo avatarSize.

X3D node tooltip: [X3DGroupingNode,X3DSensorNode] Collision detects camera-to-object contact using current view and NavigationInfo avatarSize. Collision is a Grouping node that reports collision detection for its children.
  • Hint: Collision can contain a single proxy child node for substitute collision-detection geometry. Improve run-time performance by using proxy with simpler contact-calculation geometry.
  • Hint: proxy shapes are not rendered and remain invisible.
  • Hint: apply containerField='proxy' to uniquely identify the proxy child Shape or grouping node.
  • Warning: PointSet, IndexedLineSet, LineSet and Text are not collidable geometry do not trigger collisions.
  • Hint: NavigationInfo types '"WALK" "FLY"' support camera-to-object collision detection.
  • Hint: content must be visible to be collidable and to be pickable.
  • Hint: insert a Shape node before adding geometry or Appearance.

Package hint: This org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also:
X3D Abstract Specification: Collision, X3D Tooltips: Collision, X3D Scene Authoring Hints