Animating model properties
Posted: 19 Jun 2023, 07:53
I have a CameraOffset value on my model. I can change it just fine using
But a storyboard defined like this would not work
Is there a way to make storyboard animations for model properties?
I tried all sorts of variations, most result in something like this
Code: Select all
<b:ChangePropertyAction TargetObject="{Binding}" PropertyName="CameraOffset" Value="300,100"/>Code: Select all
<PointAnimationUsingKeyFrames Storyboard.Target="{Binding}" Storyboard.TargetProperty="CameraOffset">I tried all sorts of variations, most result in something like this
LogNoesis: Error: Binding failed: Path=Self, Source=NoesisGUI.GameMapView(''), Target=PointAnimationUsingKeyFrames(''), TargetProperty=Storyboard.Target