Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
animating points on a spline
#10
The Spline To Mesh editor tool creates a mesh based on the spline as it is when using the tool. It does not update the mesh when the spline is updated.

I see two solutions to achieve what you want:

1- Use Curvy Spline's API to execute the tool whenever the spline is modiifed: https://api.curvyeditor.com/FluffyUnderware.Curvy.Utils.CurvyUtility.html#FluffyUnderware_Curvy_Utils_CurvyUtility_SplineToMesh_FluffyUnderware_Curvy_CurvySpline_

2- Generate the mesh using a Curvy Generator. This one updates the mesh automatically. I attached a modified version of your scene achieving that. You can learn everything about the Curvy Generator here: https://curvyeditor.com/documentation/generator/start

Have a nice day


Attached Files
.unity   Fix.unity (Size: 92.11 KB / Downloads: 1)
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
animating points on a spline - by Antonio - 09-12-2023, 11:23 AM
RE: animating points on a spline - by _Aka_ - 09-12-2023, 02:54 PM
RE: animating points on a spline - by _Aka_ - 09-12-2023, 03:02 PM
RE: animating points on a spline - by Antonio - 09-12-2023, 03:57 PM
RE: animating points on a spline - by _Aka_ - 09-12-2023, 05:08 PM
RE: animating points on a spline - by Antonio - 09-12-2023, 08:10 PM
RE: animating points on a spline - by _Aka_ - 09-13-2023, 09:47 AM
RE: animating points on a spline - by Antonio - 09-13-2023, 10:47 AM
RE: animating points on a spline - by _Aka_ - 09-13-2023, 12:53 PM
RE: animating points on a spline - by Antonio - 09-14-2023, 03:08 PM
RE: animating points on a spline - by _Aka_ - 09-17-2023, 09:55 AM
RE: animating points on a spline - by _Aka_ - 09-13-2023, 01:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_

Forum Jump: