Example usage for javax.media.j3d WakeupOnCollisionExit USE_GEOMETRY

List of usage examples for javax.media.j3d WakeupOnCollisionExit USE_GEOMETRY

Introduction

In this page you can find the example usage for javax.media.j3d WakeupOnCollisionExit USE_GEOMETRY.

Prototype

int USE_GEOMETRY

To view the source code for javax.media.j3d WakeupOnCollisionExit USE_GEOMETRY.

Click Source Link

Document

Use geometry in computing collisions.

Usage

From source file:KeyNavigateTest.java

public CollisionBehavior(Node node, ComplexObject owner) {
    wakeupOne = new WakeupOnCollisionEntry(node, WakeupOnCollisionEntry.USE_GEOMETRY);
    wakeupTwo = new WakeupOnCollisionExit(node, WakeupOnCollisionExit.USE_GEOMETRY);

    wakeupArray[0] = wakeupOne;//  w  w  w  . j  ava 2 s.  c o m
    wakeupArray[1] = wakeupTwo;

    wakeupCondition = new WakeupOr(wakeupArray);

    m_Owner = owner;
}