View Single Post
Old 11-26-2007, 12:52 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
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 / 2.0 #prints 0.5
So you will need to either use floating point values in your movetime list or use floating point values for your distance.
Reply With Quote