setPosition() and collision
Hello,
I have a question about the setPosition() function, specifically when using it to move the viewpoint: when I enable collision for the viewpoint (by viz.MainView.collision(viz.ON)), the setPosition() command will not move the viewpoint when there is an object in the path to the desired position. This is very counter intuitive and has caused me some frustration with a complex scene with complex movement command (I thought the error was in my coding!). Is there a better way to move the viewpoint around? Right now I have to disable collision and re-enable it whenever I move the viewpoint. Here is a small example: Code:
import viz Johannes |
It sounds like you've found a good workaround. I'll let our developers know about this issue and if they have other suggestions I'll reply here.
|
Thank you!
|
All times are GMT -7. The time now is 12:50 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC