How do I make this physics work

Hi, recently I’ve been trying to make a game but I have a problem with collision.

How do I make this triangle able to collide with this polygon while moving around? I’ve tried using non physics collision but it only works for things like squares, and I know that when it is physics collision, when you move it, you only move image, not the physics body, so how do I solve this? Please help.

We have a guide for that:

http://docs.coronalabs.com/guide/physics/collisionDetection/index.html

And some tutorials:

http://coronalabs.com/resources/tutorials/physics-box2d/

That should get you started.

Rob

We have a guide for that:

http://docs.coronalabs.com/guide/physics/collisionDetection/index.html

And some tutorials:

http://coronalabs.com/resources/tutorials/physics-box2d/

That should get you started.

Rob