Hi,I tryed to make an behavior using this.onCollision but it did not worked.There`s no collision being detected at all.I changed to this.owner and i got an 'Cannot set property 'onCollision' of undefined' I have to make this behavior work cause I have 17 objects with the exactly same functionality And I'm madly trying to increase performace on the game.
ps:I'm also having an strange "Uncaught TypeError: Cannot read property 'minX' of undefined".
Thanks in advance.