Spawns bullets on the points of a custom shape you draw in the editor canvas.
<aside>
💡 IMPORTANT : this pattern requires you to draw a shape in the editor. The “curve” property of the SpawnPattern node will be saved into this resource in order to spawn the bullets on the points you drew.
</aside>
- Center pos : position of the center of your shape. The positions of the points on the curve will be saved relative to that center and not the center of the map. This allows you to draw (= store) the shape anywhere on the map, out of the way of your actual game.
- Calculate Angles : How the angles with which the bullets are shot will be calculated.
- FromTangeant: angles calculated from the tangent to the point on the curve.
- FromCenter: angles are the angles of the vectors from the center position to the points of the curve.
- Custom: you have to write the angle for each point in the angle variable.
- Angles : If
Calculate Angles
is set to Custom, this is where you write the angles of every point. Starting from the one you draw first.
- Reversed angles : will add 180° to all angles. Can be used to make the bullets go inward in the shape instead of outward.
Click to show general pattern properties :