This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
iDragon3o6
wrote ...
2021/1/18
isTouching isn't working
iDragon3o6
2021/1/18
#
Hello! This code is in the act method, but nothing happens if I start this:
if(isTouching(PlayersBullet.class)) getWorld().removeObject(this);
Thank you!
danpost
2021/1/18
#
iDragon3o6 wrote...
This code is in the act method, but nothing happens if I start this:
if(isTouching(PlayersBullet.class)) getWorld().removeObject(this);
Nothing wrong with that line. More info/code required.
You need to login to post a reply.
X