Esempio n. 1
0
        public void Copy(MoveMotionObject _object)
        {
            if (_object == null)
            {
                return;
            }

            Velocity            = _object.Velocity;
            VelocityMaximum     = _object.VelocityMaximum;
            UseNegativeVelocity = _object.UseNegativeVelocity;
            VelocityMinVariance = _object.VelocityMinVariance;
            VelocityMaxVariance = _object.VelocityMaxVariance;

            UseTargetVelocity           = _object.UseTargetVelocity;
            AngularVelocity             = _object.AngularVelocity;
            AngularVelocityMaximum      = _object.AngularVelocityMaximum;
            UseAutomaticAngularVelocity = _object.UseAutomaticAngularVelocity;

            UseAdvancedVelocity        = _object.UseAdvancedVelocity;
            UseAdvancedAngularVelocity = _object.UseAdvancedAngularVelocity;

            Inertia = _object.Inertia;

            UseAutoDrift    = _object.UseAutoDrift;
            DriftMultiplier = _object.DriftMultiplier;

            VelocityMultiplierUpdateTimer    = _object.VelocityMultiplierUpdateTimer;
            VelocityMultiplierUpdateInterval = _object.VelocityMultiplierUpdateInterval;

            m_VelocityMultiplier = _object.VelocityMultiplier;
        }
Esempio n. 2
0
 public MoveMotionObject(MoveMotionObject _object)
 {
     Copy(_object);
 }