viz.look
i am confused as to how this works, and i can't find any documentation for it either...i am trying to create a vector out the front of the car i am driving in but the vector always goes out the back even when i'm driving forward... here's what my code looks like:
Code:
#Get the car's current position. thanks |
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 |
All times are GMT -7. The time now is 01:40 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC