How do i make a triangle physics body ?

So i have an image which is a triangle…  an i want the physics object to be a triangle too… i know for a circle you do the radius but how on triangle??

Check out the ShapeTumbler sample project that is included within the Corona simulator.

Hi @SonicX278,

See this guide under “Polygonal Bodies”. It’s really easy to create a triangular body.

https://docs.coronalabs.com/guide/physics/physicsBodies/index.html

Brent

Thanks! that works!

Check out the ShapeTumbler sample project that is included within the Corona simulator.

Hi @SonicX278,

See this guide under “Polygonal Bodies”. It’s really easy to create a triangular body.

https://docs.coronalabs.com/guide/physics/physicsBodies/index.html

Brent

Thanks! that works!