Proximity Sensor
Generates events whenever the user enters or leaves a defined box-shaped region.
Properties:
enabled
indicates whether the sensor is turned on or off. If False, the sensor is turned off.
Events:
enabled
the ProximitySensor is activated or not in the scene when
the incoming event is TRUE or FALSE.
enter
generates the outgoing event of the SFTime type whenever the user (a camera) enters a defined box-shaped region.
leave
generates the outgoing event of the SFTime type whenever the user (a camera) leaves a defined box-shaped region.
toggle
generates the Boolean outgoing event whenever the user enters (TRUE) or leaves (FALSE) a defined box-shaped region.