(unitdef file)
maxAngleDif = 210
(unitdef inside of lua)
maxAngleDif = -0.25881904363632
so what am I seeing here? Maybe my math sucks but this isn't radians.
making sense of maxangledif
Moderator: Moderators
Re: making sense of maxangledif
Looks like a comparison number for a dot product of vectors, so cos(theta). In this case cosine of 105 degrees.
Re: making sense of maxangledif
Spring loves to do comparisons by checking the difference between the normalized vectors.