406

Creating behaviors
WakeupCondition example code

  • Create the behavior
    Behavior myBeh = new MyBehavior( );

  • And set the behavior's wakup conditions and scheduling bounds
    BoundingSphere myBounds = new BoundingSphere(
        new Point3d( ), 1000.0 );
    myBeh.setSchedulingBounds( myBounds );