Thread: viz.look
View Single Post
  #2  
Old 06-19-2006, 04:42 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
To reverse the direction of a vector, multipy it by a negative. I would change the following in your code:

future = vizmat.MoveAlongVector(current, vector,-30) #added a negative sign
__________________
Paul Elliott
WorldViz LLC
Reply With Quote