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

2013/11/1

Avoiding objects

JonnyGreat456 JonnyGreat456

2013/11/1

#
I'm trying to make seals avoid an orca if the seals detect that the orca is nearby. How would I be able to do this, if anyone could help?
danpost danpost

2013/11/1

#
Detect with 'getObjectsInRange'. Use 'turnTowards' followed by 'turn(180)' when detected.
JonnyGreat456 JonnyGreat456

2013/11/1

#
thanks
You need to login to post a reply.