Hi everyone,
I am making some custom physics bodies for my app which is in Landscape mode. All The documentation on the site says to put the points in clockwise order. Mine only work when I enter them in counter-clockwise. Even the points in the documentation seem to be counter-clockwise even though they say clockwise. Here is the link
http://developer.anscamobile.com/content/game-edition-physics-bodies
scroll until you see
"squareShape = { -20,-10, 20,-10, 20,10, -20,10 }
The maximum number of points (and therefore edges) allowed per collision shape is eight. Once defined, a shape definition can be re-used multiple times.
Note that these polygon coordinates must be defined in clockwise order, and the resulting shape must be convex-only."
**Maybe I am missing something but when I plot those points in that order its going in counter-clockwise motion. I am guessing the docs are correct and I am doing something wrong but thought I would ask.
Thanks. [import]uid: 39370 topic_id: 12427 reply_id: 312427[/import]
[import]uid: 12482 topic_id: 12427 reply_id: 45354[/import]