예제 #1
0
        protected Vec3 GetFirePosition(WeaponType.WeaponMode typeMode)
        {
            Quat rot = setForceFireRotation ? forceFireRotation : Rotation;

            return(Position + rot * typeMode.StartOffsetPosition);
        }
예제 #2
0
        protected Quat GetFireRotation(WeaponType.WeaponMode typeMode)
        {
            Quat rot = setForceFireRotation ? forceFireRotation : Rotation;

            return(rot * typeMode.StartOffsetRotation);
        }