SEToolbox.Models.StructureMeteorModel.ReverseVelocity C# (CSharp) Méthode

ReverseVelocity() public méthode

public ReverseVelocity ( ) : void
Résultat void
        public void ReverseVelocity()
        {
            Meteor.LinearVelocity = new Vector3(Meteor.LinearVelocity.X * -1, Meteor.LinearVelocity.Y * -1, Meteor.LinearVelocity.Z * -1);
            Meteor.AngularVelocity = new Vector3(Meteor.AngularVelocity.X * -1, Meteor.AngularVelocity.Y * -1, Meteor.AngularVelocity.Z * -1);
            RaisePropertyChanged(() => LinearVelocity);
        }