indeed the position will never be the same. vec_dist (bullet.x, player.x) returns the distance between the two positions. So just make an expression like vec_dist(bullet.x, player.x) < 100, to see if the bullet comes within a range of 100 quants from the player.


Click and join the 3dgs irc community!
Room: #3dgs