Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control points parenting
Hello there,

First, thanks for this nice lib, really powerful and helpful! Already getting awesome results after a few hours of dev.

Little question tho, is this possible - and what would be the best approach - to "parent" the control points together. I mean, I'd like to update the control points transform at runtime, as such the children control points transforms become relative to the parent control point. I tried to manually parent them but it doesn't seems to work.

Is this something doable or not?

Thanks for your feedback Big Grin
Thanks Brice, I am happy to see that Curvy Splines was useful to you.

I am not sure about what you are trying to do.
If you are trying to achieve something like the attached picture, then it is not possible, because the spline will consider only the Control Points (CPs for short) that are a direct child, so in this example only 00, 08 and 13.
If this is indeed what you try to achieve, why do you need that?
You can on the other hand have splines being children of other splines. I never worked with this unusual setup, so it might lead to bugs I am unaware of, but this might work.

Attached Files Image(s)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Thanks for your quick reply.

That's exactly what I'm trying to achieve, and I didn't think about nesting splines into others: good idea! I will give it a try and let you know if it works Wink
Another way would be to keep the CPs the way they are but to add some kind of parent-children components to the CPs to build up fake relationships between them, based on references, and sync their transforms at runtime. I will also give it a try.

Thanks again.

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to I get positions between control points dazz777 2 493 01-09-2021, 02:18 PM
Last Post: _Aka_
  Max distance between points HTRCH 1 462 07-11-2020, 01:07 PM
Last Post: _Aka_
  Control points close together causing mesh overlap amccraw 5 1,271 05-23-2020, 06:08 PM
Last Post: _Aka_
  Control points / performance question dazz777 3 1,033 04-17-2020, 02:40 PM
Last Post: _Aka_

Forum Jump: