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

2013/6/3

How to make an object disappear when contact with wall?

Blakehammond Blakehammond

2013/6/3

#
I'm making a dodge game and when the rocks go past I want them to disappear.
Gevater_Tod4711 Gevater_Tod4711

2013/6/3

#
To check whether an object intersects another you can use the method getOneIntersectingObject(java.lang.Class clss). To remove an object use getWorld().removeObject(Actor actor).
You need to login to post a reply.