-3

After a detected collision between 2 Rectangles (i used the intersects method), i wish to reposition the Rectangle "player".

I'm working with Flash Develop + Starling.

1 Answers1

0

Use BitmapData intersection, see hitTest.

See code here: http://forum.starling-framework.org/topic/hit-test-ignoring-transparent-pixels

dimpiax
  • 12,093
  • 5
  • 62
  • 45