Chain QML Type
The chain shape provides an efficient way to connect many edges together to construct your static game worlds. Chain shapes automatically eliminate ghost collisions and provide two-sided collision. More...
Import Statement: | import Bacon2D 1.0 |
Inherits: |
Properties
- loop : bool
- nextVertex : QPointF
- prevVertex : QPointF
- vertices : list<QPointF>
Detailed Description
Property Documentation
This property connects the last vertices to the first vertices completing a loop. This requires at least 3 vertices.
This property holds the vertices of the next Chain, used for connecting multiple chains together by creating ghost vertices.
This property holds the vertices of the previous Chain, used for connecting multiple chains together by creating ghost vertices.