Fix: moved getAng function to xInvActor