10-22-2023, 07:57 PM
Hi there,
May I ask please, I am trying to add a new ControlPoint to my spline, some distance ahead of the last ControlPoint. By "ahead" though I would like the new ControlPoint to be in a position that is just a natural extension of the way the last segment is heading.
I have tried various z.forward attempts but all that does is add the ControlPoint at WorldSpace forward. I have also tried using GetTangent(1f) but that gives me strange results.
Is this something you could help with?
Many thanks and best wishes from Australia
John
May I ask please, I am trying to add a new ControlPoint to my spline, some distance ahead of the last ControlPoint. By "ahead" though I would like the new ControlPoint to be in a position that is just a natural extension of the way the last segment is heading.
I have tried various z.forward attempts but all that does is add the ControlPoint at WorldSpace forward. I have also tried using GetTangent(1f) but that gives me strange results.
Is this something you could help with?
Many thanks and best wishes from Australia
John