Мой код здесь, и я не могу больше редактировать свойство смещения TranslateTransform3D
после запуска этого:
DoubleAnimation doubleAnimationX =
new DoubleAnimation(x,
new Duration(TimeSpan.FromSeconds(second)));
DoubleAnimation doubleAnimationY =
new DoubleAnimation(y,
new Duration(TimeSpan.FromSeconds(second)));
DoubleAnimation doubleAnimationZ =
new DoubleAnimation(z,
new Duration(TimeSpan.FromSeconds(second)));
translate.BeginAnimation(TranslateTransform3D.OffsetXProperty, doubleAnimationX);
translate.BeginAnimation(TranslateTransform3D.OffsetYProperty, doubleAnimationY);
translate.BeginAnimation(TranslateTransform3D.OffsetZProperty, doubleAnimationZ);