372

Sensing the viewer
Syntax: ProximitySensor

  • A ProximitySensor node senses the viewer while in a region
  • position and orientation - sends position and orientation while viewer is in the region
  • DEF ProxSense ProximitySensor { . . . }
    
    ROUTE ProxSense.position_changed TO PetRobotFollower.set_translation