Jump to content

Intersects


Dream Of Sleeping
 Share

Recommended Posts

Hi. I'm trying to get the Intersects function to work, and it doesn't. I've now added my own  intersects function in my game and it works as expected, which is fine. It's very simple and easy to do myself, but I'm curious as to why the phaser one isn't working.

 

In the docs it says it should return true if two objects intersect but I've looked at the code and it doesn't seem to return anything. It seems to do the calculations and assign them to result, but never returns it. Am I missing something totally obvious? Or was this just a mistake?

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...