Coordinates change
Hi, I try to make some program that could add on-the-fly objects by following the path of mouse movement.
I use code like this Code:
PointBall = viz.add('ball.wrl') I also make PivotNavigate by mouse on, but disabled left-button function part. The problem is: when I move the mouse on the screen, those generated objects do not follow the trajectory of the mouse cursor, there are some offset. How can I neglect this, and if I zoom in or zoom out the screen, does this method still apply? Thanks |
Try using the
Code:
import viz |
Thanks Jeff, That works
|
All times are GMT -7. The time now is 02:06 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC