![]() |
|
![]() |
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
How to set the viewpoint as the proximity target in a Vizconnect configuration?
Hi,
In the vizard documentation, there is a way for setting the main view as the proximity target: target = vizproximity.Target(viz.MainView) But it does not work in the script generated by Vizconnect. I wonder if it is possible to set the viewpoint as the proximity target using Vizconnect? Thanks. |
#2
|
|||
|
|||
Use the following to get a handle to a node3D object that has the same transform as the viewpoint:
Code:
viewTransform = vizconnect.getDisplay().getNode3d() target = vizproximity.Target(viewTransform) |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Proximity Sensing Using Kinect | JamesCakes | Vizard | 6 | 06-24-2016 06:52 AM |
Orientation selective (Viewing Vector) Proximity Sensor | lmGehrke | Vizard | 2 | 03-17-2015 01:31 PM |
Switching between input devices setup in vizconnect and not using vizconnect | JB_HP_Viz | Vizard | 1 | 01-20-2015 06:19 AM |
vizproximity hint - debug 2D areas related to a source only after adding a target! | fordprefect | Vizard | 1 | 12-15-2014 01:37 PM |
Avatar w/ hat cannot look at viewpoint | TrashcanPatrol | Vizard | 5 | 08-19-2008 09:26 AM |