Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 35s
2 lines
167 B
Python
2 lines
167 B
Python
def get_distance_between_objects(object_a, object_b):
|
|
return ((object_a.position.x - object_b.position.x)**2 + (object_a.position.y - object_b.position.y)**2)**0.5 |