WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 02-27-2008, 12:25 PM
erchrastil erchrastil is offline
Join Date: Feb 2008
Posts: 17

i'm trying to make an environment using a tracker that gives a visual appearance of falling, but the actual tracker doesn't move. i have something that works fine when i'm just using keyboard commands to move, but it doesn't seem to work with the tracker.

here is the code i'm using:
fallAction = vizact.fall(-28.18)

if view.getPosition(mode=viz.ABS_GLOBAL)[0] > 1.0
this is enclosed within a timer loop that generally controls all of the actions:
def masterLoop(num):

but here is the error message i get, which seems to want some sort of timer:

AttributeError: 'VizFallAction' object has no attribute 'elapsed'
Traceback (most recent call last):
File "C:\Program Files\WorldViz\Vizard30\python\", line 8030, in __update
File "C:\Program Files\WorldViz\Vizard30\python\", line 479, in update
self.elapsed += elapsed

any suggestions?
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

All times are GMT -7. The time now is 04:02 PM.

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