WorldViz User Forum
>
Search Forums
Search Results
User Name
Remember Me?
Password
Register
FAQ
Today's Posts
Search
Search Forums
Show Threads
Show Posts
Tag Search
Advanced Search
Go to Page...
Showing results 1 to 11 of 11
Search took
0.00
seconds.
Search:
Posts Made By:
farshizzo
Forum:
Vizard
12-04-2007, 06:45 PM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
I used the time module to print out the current...
I used the time module to print out the current time. Example:from time import clock
.
.
.
def WriteFlag():
# write the flag in the data file
print "Movement Transition...
Forum:
Vizard
12-04-2007, 10:26 AM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
I ran your script and had it print out the...
I ran your script and had it print out the current time whenever a movement transition was made and I got the following output:Movement Transition Made 3.42844253975e-006
Movement Transition Made...
Forum:
Vizard
11-29-2007, 08:56 AM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
You can manually type the tags and place the code...
You can manually type the tags and place the code in between.
Forum:
Vizard
11-28-2007, 01:14 PM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
To post code on the forum, place the code between...
To post code on the forum, place the code between the tags.
Which version of Vizard are you using. It seems you have a pretty old version. I highly suggest upgrading to 3.0 if possible.
Forum:
Vizard
11-28-2007, 10:36 AM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
I tried those time values and they seem to work...
I tried those time values and they seem to work fine. Here is the script I used:import viz
viz.go()
ball = viz.add('ball.wrl',pos=(0,1,5))
def WriteFlag():
global startTime
now =...
Forum:
Vizard
11-28-2007, 09:15 AM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
Which values are you using? I tested it out and...
Which values are you using? I tested it out and it ran for exactly 60 seconds, as long as the number is a multiple of 30.
Forum:
Vizard
11-27-2007, 05:13 PM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
I think the problem in this case is that you need...
I think the problem in this case is that you need to convert the repeat count to an integer when passing it to the vizact.sequence command. Try the following instead:
MoveRoom =...
Forum:
Vizard
11-26-2007, 01:42 PM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
What exactly is not working? According to your...
What exactly is not working? According to your example code, the longest move action will last 2 seconds. None of the values in the movetime list are specifying anything close to a minute.
Forum:
Vizard
11-26-2007, 01:06 PM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
In most programming languages, non-fractional...
In most programming languages, non-fractional numbers are referred to as integers and fractional numbers are referred to as floats or floating point values. For example the following are integers:1...
Forum:
Vizard
11-26-2007, 12:52 PM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
Then don't put decimals in your movetime list....
Then don't put decimals in your movetime list. Keep in mind that dividing two integers in Python will yield another integer that is the floor of the division. Example:print 1 / 2 #prints 0
print 1 /...
Forum:
Vizard
10-18-2007, 09:54 AM
Replies:
28
Movement Question
Views:
26,674
Posted By
farshizzo
With the vizact.move() command you specify the...
With the vizact.move() command you specify the velocity to move with, and the amount of time to move at that velocity. So your code should look something like this:MoveRoom =...
Showing results 1 to 11 of 11
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Getting Vizard Help with AI
Announcements
Vizard
Precision Position Tracker (PPT)
Plug-in development
All times are GMT -7. The time now is
07:59 AM
.
Contact Us
-
WorldViz Home
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC