332

Picking Shapes
Picking Example Using the Mouse

  • Create a behavior that wakes up on a mouse press event
  • On mouse press:
  • Construct a PickRay from the eye passing through the 2D mouse screen point
  • Wait for mouse drag or mouse release event