Lloyd Logan Posted January 27, 2013 Share Posted January 27, 2013 How would I make a script so that it pays the amount of distance driven(e.g 500 (what ever the distance is caluclated in) you get paid 500 dollars.) The distance will be between 2 markers. Link to comment
Castillo Posted January 27, 2013 Share Posted January 27, 2013 getDistanceBetweenPoints2D getDistanceBetweenPoints3D Link to comment
Lloyd Logan Posted January 27, 2013 Author Share Posted January 27, 2013 getDistanceBetweenPoints2D getDistanceBetweenPoints3D I have random markers, how would i calculate this? Link to comment
Castillo Posted January 27, 2013 Share Posted January 27, 2013 Get the position from each marker. Link to comment
Lloyd Logan Posted January 27, 2013 Author Share Posted January 27, 2013 Get the position from each marker. Do you remember my other script? When each marker was created in a different function? How would i get the distance between 2 markers if one is destroyed after it is hit? I pm'ed you my script. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now