== operator with margin of error

I’m trying to create an air dash and I want it to end when the players position is equal to the target’s position. How would I use something like the == operator for 2 vector3s and make it have a margin of error?

sounds like you just want to use .distance_to().

I believe that is exactly what I want. Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.