so im doing a dashing skill, and it dashes in the angle of what the caster is facing..
so are these the right way to get the Cos and Sin values?
so are these the right way to get the Cos and Sin values?
JASS:
set cast[hid]=GetTriggerUnit()
set cos[hid]=Cos(GetUnitFacing(cast[hid]))
set sin[hid]=Sin(GetUnitFacing(cast[hid]))