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
sanderbakker
wrote ...
2015/11/22
How to make actors see other actors
sanderbakker
2015/11/22
#
The title says it all. I have a actor moving around my world but it goes trough every other actor in the world. I want it to turn when it reaches another actor. Anyone knows how to do this?
danpost
2015/11/22
#
sanderbakker wrote...
I have a actor moving around my world but it goes trough every other actor in the world. I want it to turn when it reaches another actor
Try
if (isTouching(null))
sanderbakker
2015/11/22
#
Thanks this also helped me alot
You need to login to post a reply.
X