add Trail Member Simple
Spawns a trail piece, which links up with other pieces with the same ID to form a smooth trail. This function has most of the functionality you need; should you want more configurability, use AddTrailMemberAdvanced instead
Parameters
The entity this trail is attached to, used for cutting trails. Can be Null, but that should really only be done in weird, edge-case scenarios
The ID for this specific trail. Preferably get this from getUniqueID, but it's not required: just expect very weird results if you don't
Which sprite to draw for this trail: do *not* change this halfway through a trail, as that will split it into two trails
Starting position for this piece of trail
The speed, in SU, this trail piece is moving at
Which angle this piece of trail has in degrees; determines which direction it moves, and which direction its size is measured over
The starting size (or rather width) this piece of trail has. Measured in SU. A trail smoothly transitions from its startSize to its endSize over its duration
The ending size (or rather width) this trail piece has. Measured in SU. A trail smoothly transitions from its startSize to its endSize over its duration
The color of this piece of trail. Can be changed in the middle of a trail, and will blend smoothly between pieces. Ignores alpha component entirely
The starting opacity of this piece of trail. Is a value between 0f and 1f. The opacity gradually approaches 0f over the trail's duration
How long this trail spends "fading in"; for this many seconds, the opacity of the trail piece steadily increases until reaching "opacity". A trail's total duration is inDuration + mainDuration + outDuration
How long a trail uses its maximum opacity. A trail's total duration is inDuration + mainDuration + outDuration
How long a trail spends "fading out"; over this many seconds at the end of the trail's duration, its opacity goes from "opacity" to 0f. A trail's total duration is inDuration + mainDuration + outDuration
Whether this trail will use additive blending or not. Does not support being changed in the middle of a trail