For each actor inside region - no actors found


  • Posts: 97
I have a very simple block of code that for some reason I cannot get to work.  I have several actors on the screen.  When one actor collides with another actor the attached image file code gets called.

The "here" print statement works but the "Remove actor in region" print statement never gets called.  I made the region as large as the entire scene for testing purposes and it still does not find any actors.

Can anyone figure out why the For each actor inside region loop isn't finding any actors?


  • Posts: 82
Goddammit I have the exact same problem. My regions do stuff only if I create them in the scene editor. If I create them on code (exactly the same of yours) they do nothing. Why?