Hi,
I have a storyboard running a Point3DAnimation with a duration in Helix3D but it does not make any differance in the length of duration it always play the same speed (very fast). Do I need to set more in the Timelines or anything else?
Dim Last_Point As Point3D = New Point3D(0, 0, 0)
Dim Next_Point As Point3D = New Point3D(0, 0, 10)
Dim Test As SphereVisual3D = New SphereVisual3D()
Test.Radius = 5
Test.Center = New Point3D(0, 0, 0)
Test.Fill = Brushes.Red
Test.PhiDiv = 20
Test.ThetaDiv = 20
Test.Material = MaterialHelper.CreateMaterial(Brushes.Transparent, Brushes.White, Brushes.Gray, 0.5, 20)
ViewPort.Children.Add(Test)
Move_Points.From = Last_Point
Move_Points.To = Next_Point
Move_Points.AutoReverse = False
Move_Points.Duration = TimeSpan.FromSeconds(10)
Move.Children.Add(Move_Points)
Storyboard.SetTarget(Move_Points, Test)
Storyboard.SetTargetProperty(Move_Points, New PropertyPath(SphereVisual3D.CenterProperty))
Move.Begin()
Move.Children.Remove(Move_Points)
I would like to load an array points with there own duration as full storyboard but WPF is very new & differant. So I am very green to this & I am still having to use VB code. Maybe one step at a time.
This is my eyes should play for 10 seconds & move "Test" in Z axis 10 units. It move 10 units in Z axis but at light speed. I tried everything I can find (At least what can understand).
Thanks in advance
What I have tried:
I have tried setting ratio & tried to set the duration on the storyboard (Readonly dead end). I also added a label update to slow it down. Which worked but was irregular result (Not the correct way but was desperant) as it was just tying thing up & was intermitant. I can't over the thought this a storyboard error but I may be wrong