Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Polygon

A filled convex polygonal physics shape. More...

Import Statement: import Felgo 3.0
Inherits:

Fixture

Inherited By:

RubeFixturePolygon

Properties

Detailed Description

Property Documentation

vertices : list<point>

Contains a list of 3 or more vertices, defined by Qt.point() objects in pixels, that make up the shape in a clockwise winding. The vertices must define a convex polygon. See here for the definition of a convex polygon: http://en.wikipedia.org/wiki/Polygon#Convexity_and_types_of_non-convexity.