ENTITY XYZ

Blitz3D Forums/Blitz3D Programming/ENTITY XYZ

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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?