Vizard 7 » Reference » Proximity Sensors » vizproximity target
7.6

vizproximity target

A proximity target is the object that is detected by proximity sensors. The following command creates a Target object:

Command

Description

vizproximity.Target(source)

Create a proximity target.

The target position is determined by the specified source object (e.g. node, view, tracker, bone, matrix)

The following methods are available on the Target object:

Method

Description

<Target>.getPosition()

Get current position of target.

<Target>.getSource()

Return the source object of the target.

<Target>.getSourceObject()

Return the underlying object of the target source (e.g. node, view, bone, etc..).

Example

#Add main viewpoint as proximity target
target = vizproximity.Target(viz.MainView)

vizproximity introduction

vizproximity sensor

vizproximity target

vizproximity manager

vizproximity events