Games [xui2d] [solved] How can i get the distance between 2 bodies

Knoppi

Active Member
Licensed User
Longtime User
How can i get the distance between 2 bodies with xui2d?
 
Body worldcenters distance or outline closest distance?
 
sorry i don't know the difference
this is my veryfirst try with games

i need: middle body1 to middle body2
 
thank you Erel

this looks what i am searching for
 
Back
Top