I've been trying to make a field of vision Pie in my game, and I've gotten it working in previous versions, but its not working now, in the new version which is handling it completely different.
I'm trying to figure out if the below is the right code for the job...
I'm trying to figure out if the below is the right code for the job...
FoVCoord[Loop_Var, 0] = (X + 20) + Cos((FoVLeft + Loop_Var) - 90) * VisionLength[Loop_Var] FoVCoord[Loop_Var, 1] = (Y + 20) + Sin((FoVLeft + Loop_Var) - 90) * VisionLength[Loop_Var]