Base particle origin offsets on entity orientation
Basing particle coordinates on the entity orientation (forward, left, up) would allow particle effects to originate relative to the entity direction using originoffset
and originjitter
.
Currently particle coordinates adjust the particle coordinates based on the world directions.
The attached images show the hellknight attack being fired in opposite directions, resulting in different offsets.
effect TR_KNIGHTSPIKE
trailspacing 6
count 1
type smoke
tex 34 34
color 0x7f1707 0xe7ab5f
size 24 24
alpha 64 128 256
gravity 0
time 0.1 0.2
originoffset 0 32 0