It sounds like your desiredRotation
variable is being influenced by the current rotation of the player. Your desiredRotation
is being set based on the LookRotation()
of a firingDirection
. Is your GetFiringDirectionToHitTarget()
method using the player's current position, by chance?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…