Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Same Spline Extrusion with variable width
#6
(11-02-2019, 11:34 PM)Janooba Wrote:
(06-27-2019, 12:41 PM)_Aka_ Wrote: All what you need is in here
https://api.curvyeditor.com/520/class_fluffy_underware_1_1_curvy_1_1_generator_1_1_modules_1_1_build_shape_extrusion.html#aa4837250006a8826991973ab82445b72
and here
https://docs.unity3d.com/ScriptReference/AnimationCurve.html

Is it possible that we can get an option to set scale based on the local scale of the path nodes?

Hi,

There is no ready made feature to set the extrusion scale to the same value as the control points (a.k.a path nodes) scale, but you can easily do it: make a script that will read the local scale of each control point's and then modify the ScaleMultiplier curves accordingly. The quoted links have the needed documentation to do that.

Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Same Spline Extrusion with variable width - by _Aka_ - 11-04-2019, 01:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 1 1 Yesterday, 10:12 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 Yesterday, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: