mainview
I am trying to make the mainview to keep its moving with the avatar’s moving and speeds as well, I tried with the following simple code.
Code:
import viz But does not working |
Code:
viz.MainView.getPosition(female.getPosition()) This will only occur once though, you'll need a timer callback function to constantly acquire the position of the avatar and assign it to the main view position. Something like: Code:
def myTimer(num): |
Sorry, that above callback won't work right...try this:
Code:
def myTimer(num): |
you can also try linking the viewpoint to the avatar. This following lines create a link and then creates an offset so the view is behind the avatar
Code:
view = viz.MainView |
Thanks for the info.
|
All times are GMT -7. The time now is 07:48 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC