277

Creating Behaviors
Collision Wakeup

  • A behavior can wakeup when a Shape3D's geometry:
  • Enters/exits collision with another shape
  • Moves while collided with another shape
  • Collision detection can be approximate and fast by using bounding volumes, not geometry
  • Or it can be exact, but slower, by using the geometry itself
  • Method
    WakeupOnCollisionEntry( SceneGraphPath armingpath )
    WakeupOnCollisionExit( SceneGraphPath armingpath )
    WakeupOnCollisionMovement( SceneGraphPath armingpath )
    SceneGraphPath getArmingPath( )
    SceneGraphPath getTriggeringPath( )