Bacon2D

Edge QML Type

Edge shapes are line segments. These are provided to assist in making a free-form static environment for your game. A major limitation of edge shapes is that they can collide with circles and polygons but not with themselves. The collision algorithms used by Box2D require that at least one of two colliding shapes have volume. Edge shapes have no volume, so edge-edge collision is not possible. More...

Import Statement: import Bacon2D 1.0
Inherits:

Fixture

Properties

Detailed Description

Property Documentation

vertices : list<QPointF>

This property holds a list of vertices that when connected define the Edge.