Jump to content

setPolygon


iShellz
 Share

Recommended Posts

P2 supports rectangles, circles, particles, planes and polygon shapes. Polygons can be specified by a list of points in an array, or loaded in from JSON via a tool like Physics Editor.

 

Creating them is easy, I just don't have time to explain tonight - but there's a demo in the 1.2 examples.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...