WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-16-2010, 11:54 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You're getting that error in the first piece of code because the viewpoint is being placed in a location that causes a collision when the collision event occurs.

In the second piece of code the viewpoint is set to [0,1.82,0] unless the eyeheight has been changed. That command will always move the view above the origin.

If you want to move the viewpoint somewhere else use
Code:
viz.MainView.setPosition()
but make sure the position is not at ground level or colliding with another object.
Reply With Quote
 


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
Change model alpha and memory leak hosier Vizard 2 06-25-2009 10:55 AM
writing joystick position to a data file Saz Vizard 3 12-17-2008 05:18 AM
How can you dynamically change the gain on a tracker-based CaveView? michaelrepucci Vizard 2 09-23-2008 07:18 AM
Randomly and Continuously Change Avatar's Face Texture Karla Vizard 4 08-22-2008 12:14 PM
Avatar always returns in initial position pattie Vizard 2 08-31-2006 08:15 PM


All times are GMT -7. The time now is 11:54 AM.


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