Jump to content

Sprite collision with camera bounds?


Recommended Posts

Hi all! I'm trying to get a sprite to collide with the camera bounds using arcade physics. Essentially I'm looking for an equivalent (in terms of functionality, not necessarily syntax or what have you) of foo.body.collideWorldBounds, except for the camera bounds rather than the world bounds. I'm having trouble building my own method for this, so I'm wondering if an equivalent method exists, or what the method would be if it were to exist. Hope that makes sense! Thanks in advance for any help! 

Link to comment
Share on other sites


  • Recently Browsing   0 members

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