1
votes

I want to detect sprite collision on a hill but my sprite detect collision before hill as it detects rectangular shape. I want to detect collision on hill edges, I draw a triangle by using mesh but collideswith() method not working

1

1 Answers

2
votes

You have two options:

1) You can use the Box2D extension and let Box2D handle the colisons

2) You can use the AndEngineCollisionExtension -You'll have to replace your Sprite with PixelPerfectSprite