Collision point class.
Kind: global class
Create the collision shape.
Param | Type | Description |
---|---|---|
position | Vector2 |
Point position. |
Kind: instance property of PointShape
Set this collision shape from vector2.
Kind: instance method of PointShape
Param | Type | Description |
---|---|---|
position | Vector2 |
Point position. |
Vector2
Get point position.
Kind: instance method of PointShape
Returns: Vector2
- Point position.
Kind: instance method of PointShape
Kind: instance method of PointShape
Kind: instance method of PointShape
Debug draw this shape.
Kind: instance method of PointShape
Param | Type | Description |
---|---|---|
opacity | Number |
Shape opacity factor. |