Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: OnAfterControlPointAdded - Control Point is null
Post: RE: OnAfterControlPointAdded - Control Point is nu...

Thank you for your help, calling Start seems to have done the trick.
jh092 Curvy Splines 5 2,729 02-04-2025, 06:16 PM
    Thread: OnAfterControlPointAdded - Control Point is null
Post: RE: OnAfterControlPointAdded - Control Point is nu...

Hi and thank you for the very fast reply and code sample. I will try and get something for you, but in my code I am creating the spline dynamically and adding the control points dynamically. As soo...
jh092 Curvy Splines 5 2,729 02-01-2025, 07:45 AM
    Thread: OnAfterControlPointAdded - Control Point is null
Post: OnAfterControlPointAdded - Control Point is null

Hi there, I've hooked up a spline OnAfterControlPointAdded event, it fires correctly each time but the args ControlPoint value is always null. Is this something you could confirm is a bug, or if...
jh092 Curvy Splines 5 2,729 01-29-2025, 03:24 AM
    Thread: Distance travelled across multiple splines
Post: Distance travelled across multiple splines

Hi there, I have a car that travels over multiple connected splines, I'm trying to work out how to keep track of the total distance the car has travelled. Guessing that I need to keep a tally of...
jh092 Curvy Splines 1 1,355 02-22-2024, 09:07 PM
    Thread: Keeping a fixed spline length
Post: RE: Keeping a fixed spline length

Ok thank you anyway. John
jh092 Curvy Splines 3 2,053 02-08-2024, 01:34 AM
    Thread: Keeping a fixed spline length
Post: Keeping a fixed spline length

Hi there, Let's say I have a spline with several control points. I would like to be able to move those control points by small amounts but keep the spline at a constant length (during runtime). ...
jh092 Curvy Splines 3 2,053 02-07-2024, 03:09 AM
    Thread: Smoothly connecting to Linear spline
Post: Smoothly connecting to Linear spline

Hi there, I am trying to connect a Catmull Rom (or Bezier) to a Linear spline. Each has the follow-up set correctly. Is there a way to align the Catmull Rom connection to the Linear so the conne...
jh092 Curvy Splines 1 1,046 12-22-2023, 07:56 PM
    Thread: Connection "next' control point
Post: RE: Connection "next' control point

Ah thank you for the very quick reply, and yes that is the trick! Can I please ask one more question then. If I know I need to head towards Spline 1 CP0001 how do I know whether I need to change th...
jh092 Curvy Splines 3 1,825 11-16-2023, 08:16 PM
    Thread: Connection "next' control point
Post: Connection "next' control point

Hi there, I need some help with this simple Connection use-case. Below are two splines, Spline 1 is highlighted purple, Spline 2 is the smaller spline not highlighted. If I am on Spline 2 headin...
jh092 Curvy Splines 3 1,825 11-16-2023, 04:02 AM
    Thread: Add ControlPoint "ahead" of spline end
Post: RE: Add ControlPoint "ahead" of spline end

Thanks so much for the quick reply. I've been playing around some more now that you have confirmed that GetTangent is probably the way to go. I came up with this which is working the way I want it to...
jh092 Curvy Splines 3 1,803 10-23-2023, 07:06 PM
    Thread: Add ControlPoint "ahead" of spline end
Post: Add ControlPoint "ahead" of spline end

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...
jh092 Curvy Splines 3 1,803 10-22-2023, 07:57 PM
    Thread: Error when recreating splines / connections
Post: RE: Error when recreating splines / connections

Yes only in play mode. Thanks for the response and thorough explanation. I see what you mean and feel your pain :) I will just workaround this by waiting a frame as you suggest. Thanks again...
jh092 Curvy Splines 3 1,684 07-24-2022, 07:10 PM
    Thread: Error when recreating splines / connections
Post: Error when recreating splines / connections

Hi again, I dynamically create my splines and connections via API and that works fine. However, when I need to recreate the splines and connections after I have already done it once I get errors wi...
jh092 Curvy Splines 3 1,684 07-23-2022, 06:44 PM
    Thread: Closed splines and duplicate points
Post: RE: Closed splines and duplicate points

That makes sense, thanks so much for confirmation. John
jh092 Curvy Splines 3 1,779 07-23-2022, 05:41 PM
    Thread: Closed splines and duplicate points
Post: Closed splines and duplicate points

Hi there, I have a spline, let's say in a circular shape, with the first and last spline points being in the same position. If I set the spline to Closed, I still have those first and last point...
jh092 Curvy Splines 3 1,779 07-23-2022, 06:03 AM
    Thread: How to face forwards when going backwards
Post: RE: How to face forwards when going backwards

Sorry, one more thing. I thought I had it working but not quite. How do I know which way a spline is facing? I need to know whether to flip a spline or not,  I had this code but turns out it's not rig...
jh092 Curvy Splines 9 6,628 08-17-2020, 07:43 AM
    Thread: How to face forwards when going backwards
Post: RE: How to face forwards when going backwards

Ah, flipping the splines was the key as I don't care which way they face. Now they are flipped I don't need to worry about forwards/backwards issue. Thank you (Finally left a review too, thanks ...
jh092 Curvy Splines 9 6,628 08-17-2020, 12:25 AM
    Thread: How to face forwards when going backwards
Post: How to face forwards when going backwards

Hi there, My train engine faces forwards when going forwards, but if I change the direction it flips around and faces "forwards" when going backwards. I don't want this behaviour, rather, I would l...
jh092 Curvy Splines 9 6,628 08-16-2020, 06:12 PM
    Thread: SplineController slows down approaching connections
Post: RE: SplineController slows down approaching connec...

Thank you again for your help, very much appreciated. John
jh092 Curvy Splines 5 5,064 08-07-2020, 03:54 PM
    Thread: SplineController slows down approaching connections
Post: RE: SplineController slows down approaching connec...

Ah makes sense, thank you. I'm not 100% clear though, once I have calculated what the speed should be according to those links, would I set the SplineController speed in my Custom Selector script o...
jh092 Curvy Splines 5 5,064 08-07-2020, 06:06 AM