nicolasgramlich/AndEngine — Issue #18: RectangularShapeCollisionChecker.checkContains doesn't work properly with Entity as param
Author: qavid
Created: 2012-01-24 22:59:32+00:00
State: open

I have class which extends Entity and implements Scene.ITouchArea.
My implementation of method ITouchArea.contains(float pX, float pY) returns result of

RectangularShapeCollisionChecker.checkContains(this, 500, 500, pX, pY);

I think that first two params (x,y) of call

RectangularShapeCollisionChecker.fillVertices(**pEntity.getX(), pEntity.getY()**, pLocalWidth, pLocalHeight, ...);

should be 0,0 as it is in method checkContains with RectangularShape as param.