This site requires JavaScript, please enable it in your browser!
Greenfoot back
sidetracked
sidetracked wrote ...

2016/3/22

How to find out if a actor is X distance from another?

sidetracked sidetracked

2016/3/22

#
How can I let one actor know another actors position. if (PlayerOne !isCloseTo(PlayerTwo)) { do this } something to that effect
sidetracked sidetracked

2016/3/22

#
if(getObjectsInRange(x, ..) is this the correct way? seems to work fine
davmac davmac

2016/3/23

#
Seems like you answered your own question :) You can always read the documentation if you are unsure what a method does.
sidetracked sidetracked

2016/3/23

#
thanks!
You need to login to post a reply.