![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Sugor |
how do I get the X axis only when calculating distance with
player.position.distance_to(entity.position)?
I mean, I only want to detect the x position of player if its close to an entity. Any idea how to do that?