WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-10-2019, 02:40 AM
zumbay zumbay is offline
Member
 
Join Date: Oct 2016
Posts: 16
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!
Reply With Quote
  #2  
Old 06-18-2019, 09:10 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,455
Use the setReferenceFrame command with mode set to viz.RF_VIEW.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
animation path problem - coordinates not resetting jelly Vizard 7 04-26-2016 10:45 AM
Render Node View Matrix whaleeee Vizard 2 05-06-2013 09:26 AM
Main view collision problem AtomicRaiden Vizard 4 10-06-2011 11:48 AM
display the position and euler coords of the main view Josh Vizard 1 03-22-2010 10:48 AM
Plane faces main View jaylocco Vizard 2 07-05-2009 08:21 PM


All times are GMT -7. The time now is 01:25 AM.


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