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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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