Question by
n-carlson1 · Aug 22, 2015 at 05:28 PM ·
c#transformdistance
Why won’t my distanceTraveled work?
I have a game where I want to have your score be how far you’ve traveled. The problem is, for some reason the distance isn’t being calculated. Here’s what I have
http://puu.sh/jKA3U/3b515b5f3f.png http://puu.sh/jKA4T/05dc6823b0.png
Is there something I’m missing in the calculations part? because no matter which way I travel, the counter sits at 0.
Comment
Your answer
Follow this Question
Related Questions
Position of empty game objects 1 Answer
Don't trust "Vector3.Distance"? 1 Answer
Portals: Transformation of ported Objects 1 Answer
Rotate an object with Quaternion.Lerp without keeping press a key. 0 Answers
Problems With .rotate behavior 1 Answer