dreta Posted October 20, 2013 Share Posted October 20, 2013 Hey, I've downloaded Phaser from GitHub and the only object that's documented is the TimeManager, so i tried building the documentation with yuidoc myself, but not the whole documentation builds, f.e. physics isn't building at all. Which leads to my next question, since i can't look this up in the documentation, can somebody tell me if Phaser has the ability to query the physics world? F.e. retrieve objects or tiles that overlap an AABB or retrieve the first object or tile hit by a ray. I looked at the physics source and i can see that you're using a quad tree and making it publicly accessible, but it doesn't have the functionality i want. Link to comment Share on other sites More sharing options...
Mike Posted October 20, 2013 Share Posted October 20, 2013 Well I didn't know about existing of physics query and probably there isn't such a feature... but at least it sounds interesting for discussion. About the documentation, it's coming and I think it's just behind the corner. (phaser 1.1 will bring it to us) Link to comment Share on other sites More sharing options...
dreta Posted October 20, 2013 Author Share Posted October 20, 2013 Well it should be a basic feature for any physics engine. How do people who use Phaser handle things like explosions or more complex AI without world queries? Link to comment Share on other sites More sharing options...
Recommended Posts