Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control points parenting
#1
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
Reply
#2
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.
Reply
#3
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Control points close together causing mesh overlap amccraw 5 288 05-23-2020, 06:08 PM
Last Post: _Aka_
  How to I get positions between control points dazz777 0 165 05-08-2020, 05:12 PM
Last Post: dazz777
  Control points / performance question dazz777 3 381 04-17-2020, 02:40 PM
Last Post: _Aka_
  Make connection between 2 control points dazz777 11 1,571 04-17-2020, 01:37 PM
Last Post: _Aka_

Forum Jump: