Has anyone run into any problems with comparing values returned from EntityX or entityY or entityZ?
I have an instance where entityx(SPHEREA) does not equal entityx(SPHEREB) dispite the fact that i am displaying the values on the screen and they appear the same.
I suspect that there maybe a rounding issue of some sort.
I can overcome this easily by rounding to the decimal place that is being displayed ie 1.00001 but i dont know a math function to do the rounding. Is there something im missing?
I have an instance where entityx(SPHEREA) does not equal entityx(SPHEREB) dispite the fact that i am displaying the values on the screen and they appear the same.
I suspect that there maybe a rounding issue of some sort.
I can overcome this easily by rounding to the decimal place that is being displayed ie 1.00001 but i dont know a math function to do the rounding. Is there something im missing?