Do comparison tasks in LimboAI handle floating point inaccuracies? #353
Unanswered
FelixSeKett
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
while exploring LimboAI, I was wondering how the built-in tasks that compare values (such as conditions checking floats or Vector2s) deal with floating point inaccuracies.
From what I can tell, comparisons are done using direct operators (e.g. ==, <, >), without any epsilon tolerance for floats or vectors. This could lead to unexpected results when working with movement vectors, distances, or other continuous values that are inherently imprecise.
So my questions are:
Thanks in advance for clarifying!
Beta Was this translation helpful? Give feedback.
All reactions