Jump to content

Coordinates of polygon


Boak
 Share

Recommended Posts

noob here... I am not able to figure out how to position a polygon in a scene.
When adding a polygon to a scene, i.e. scene.add.polygon(x,y,points...), what does x,y really set? Should the points be relative to x,y? it seems that the position depends on the shape of the polygon(?). Cant find any pointers in the docs and the more I fiddle with this, the more confused I get...

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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