alienari / bitfighter

Automatically exported from code.google.com/p/bitfighter
Other
0 stars 0 forks source link

[Lua] Geom setCentroid() and possibly setPos() on objects with multiple points #518

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What new feature or enhancement would you like to request?
It would be nice to see a Geom.setCentroid(geom, point) that would take a 
point, and set the centroid of the geom. This would make placing, say, a zone 
at a specific location easily.

Maybe this could also be the background workings of setPos(point) on objects 
that have multiple points. This method doesn't do anything right now (on those 
objects).

Original issue reported on code.google.com by corteocarl on 2 Jul 2015 at 1:20

GoogleCodeExporter commented 9 years ago
Fixed!  This was actually already working with setPos() but just not being 
updated on the client.  Now it is.

Original comment by buckyballreaction on 4 Jul 2015 at 11:02