====== Convert an angle in degrees to a directional vector ====== orxFLOAT degRotation = 45; orxFLOAT radRotation = degRotation * orxMATH_KF_DEG_TO_RAD; orxFLOAT x = orxMath_Cos(radRotation); orxFLOAT y = orxMath_Sin(radRotation); orxVECTOR directionVector = {x, y, 0};