#1
|
|||
|
|||
Camera Position And Viztask
Hi,
I have a simple script that makes the camera move forward in my scene. The camera moves through some balls. Now I want to accomplish a task every time the camera's position surpasses the ball's. I use the following lines to move the camera: Code:
class AmblioCameraHandler( viz.CameraHandler ): def _camUpdate( self, e ): e.view.move( 0, 0, speed) Nextly, I need to get the cameras position by doing: Code:
cam_pos = viz.MainView.getPosition() How can I do that using this viztask method? Best regards! |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
.clone() or .copy() | durf | Vizard | 8 | 04-01-2009 09:45 PM |
Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 01:14 PM |