WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   move node with main view (https://forum.worldviz.com/showthread.php?t=6257)

zumbay 06-10-2019 02:40 AM

move node with main view
 
Hey,

what would be the best way to link an object so it moves/translates with the direction of the main view (e.g. simulate carrying an object)?
In this example (https://docs.worldviz.com/vizard/lat...nt_control.htm) the car moves with the viewpoint, but not with the head direction, which I would need.
Probably an easy solution to this, sorry!

Thanks!

Jeff 06-18-2019 09:10 AM

Use the setReferenceFrame command with mode set to viz.RF_VIEW.


All times are GMT -7. The time now is 10:57 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC