Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom CurvySplineSegment prefabs
#1
Is it possible to add a override to a CurvySpline to instead use a custom CurvySplineSegment prefab? I have a component i add called a Joint used to allow controlling the splines at runtime as well as connecting them. It'd be really useful to be able to override the control points to support a custom prefab
Reply
#2
Hi
Directly specifying a prefab to be used instead of regular CPs is not possible. But you can use the OnAfterControlPointAdd event, from the CurvySpline class, to execute a code that would configure every newly added CP as you see fit.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Errors in Built Application in CurvySplineSegment TdayMFG 7 205 04-13-2025, 09:24 AM
Last Post: _Aka_
  Deforming prefabs with LODs along a spine LiveWire 7 666 01-22-2025, 10:59 PM
Last Post: rickgplus
  CurvyConnections inside prefabs CoolUser 9 4,533 10-02-2024, 06:41 PM
Last Post: _Aka_
Bug Issues when working with in-place prefabs Sacryn 4 434 02-27-2024, 04:08 PM
Last Post: _Aka_

Forum Jump: