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..). |