/// <summary> /// You can override this for possibly locking the gun to the sprite direction. /// </summary> /// <param name="dt">The change in time since the last animate.</param> public override void animate(float dt) { base.animate(dt); //Calls updateAttitude(dt) and _psprite->animate(dt) if (_aimtoattitudelock) { AimVector = AttitudeTangent.roundOff(); } }