+1
Under review

"Equal" part in Less or Equal value not triggering

JFB 3 months ago in Stats updated by snorbii 1 month ago 3

Hi. 


When "Health" is at 0, the Characters/Players do not die. Only when it's less than 0, is the character's death triggered. Can you take a look at this?

Unity version:
2019.3.15f1
Game Creator version:
1.1.8
Under review

I'll look into it. Floats have precision errors, o they can't be compared to zero. What we usually do is compare if the value is between two very small numbers (like -0.0001 and 0.0001). Maybe we missed this acse. I'll circle back when I have more info on this.

Thanks for taking a look.

Same problem here 😣