Posts: 2
Threads: 1
Joined: Nov 2013
11-15-2013, 06:53 AM
Hi,
is there a solution to get a constant speed, if i use the SplinePathMeshBuilder with an attached bezier spline?
I want extrude a rectangle mesh at runtime with a constant speed.
Thanks for help
Thorsten
Posts: 690
Threads: 71
Joined: Jan 2015
Hi,
(11-15-2013, 06:53 AM)Baobei Wrote: is there a solution to get a constant speed, if i use the SplinePathMeshBuilder with an attached bezier spline?
I want extrude a rectangle mesh at runtime with a constant speed.
Not directly. By extruding at runtime you mean that you animate From/To-TF values, right? If so, keeping a constant speed is only a matter wisely choosen TF, e.g. by utilizing CurvySpline.Move() or CurvySpline.DistanceToTF().
Jake
Posts: 2
Threads: 1
Joined: Nov 2013
Hi Jake,
thanks for your information. CurvySpline.DistanceToTF works well for me.
Thorsten