Table of Contents Chapter Index Previous Slide Next Slide 324
Syntax: ProximitySensor

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