physics collision on triangle

Hi I have only started using Corona recently and have one problem

I’m trying to make a game where a ball would roll down shapes etc.
However the triangle shape I use, the physics dection still assumes the shape to be a square.

As seen here: http://i.imgur.com/qQoD2.png

I don’t want to rotate the image as it doesn;t then fit neatly into my grid image.

-Is it possible to change the physics ‘mask’ to match the triangle shape?
-Would this work if I drew the triangle as a vector image?

Many Thanks

[import]uid: 38562 topic_id: 7258 reply_id: 307258[/import]

Hello,

You must read http://developer.anscamobile.com/reference/index/physicsaddbody (Polygon bodies) about physics before.

Regards.
Francisco.
[import]uid: 11749 topic_id: 7258 reply_id: 25509[/import]

Thanks Francisco

Can’t believe I didn’t see that before.
Thanks again for the help!

[import]uid: 38562 topic_id: 7258 reply_id: 25510[/import]