fkkcloud Posted March 6, 2016 Share Posted March 6, 2016 Hi, I have a box sprite that trigger callback of overlap. But is it possible to have the sprite overlap happens when it touched a little inner side of the sprite box? (like -2 pixel towards the center of the sprite)? The problem is it detect too accurate that it looks like the overlap happened too early. Hope that makes sense. Link to comment Share on other sites More sharing options...
fkkcloud Posted March 7, 2016 Author Share Posted March 7, 2016 I guess best bet would be using circle with Ninja Physics Link to comment Share on other sites More sharing options...
fkkcloud Posted March 8, 2016 Author Share Posted March 8, 2016 I was able to use just sprite.body.width = sprite.body.sourceWidth * 0.5; // so it will collide with wherever I want it to be :) Link to comment Share on other sites More sharing options...
Recommended Posts