Interface Collision

All Superinterfaces:
X3DBoundedObject, X3DChildNode, X3DGroupingNode, X3DNode, X3DSensorNode
All Known Implementing Classes:
Collision

public interface Collision extends X3DGroupingNode, X3DSensorNode
Collision detects camera-to-object contact using current view and NavigationInfo avatarSize.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. Collision 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 interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also: