Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
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 |
8 |
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 |
17 |
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 |
17 |
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 |
4 |
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 |
15 |
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 |
15 |
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 |
5 |
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 |
5 |
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 |
7 |
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 |
7 |
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 |
9 |
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 |
9 |
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 |
3,100 |
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 |
3,100 |
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 |
3,100 |
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 |
2,542 |
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 |
2,542 |
08-07-2020, 06:06 AM |
|
|
Thread: SplineController slows down approaching connections
Post: SplineController slows down approaching connection...
Hi again,
I'm using the default SplineController to move an object. I have multiple splines joined with connections. The object slows down as it approaches each connection then speeds up again afte... |
|
jh092 |
Curvy Splines
|
5 |
2,542 |
08-05-2020, 09:40 PM |
|
|
Thread: How to calculate curvature of spline
Post: RE: How to calculate curvature of spline
Hi and thank you for the quick response.
Yes this is very helpful.
John |
|
jh092 |
Curvy Splines
|
3 |
2,064 |
07-30-2020, 11:01 PM |
|
|
Thread: How to calculate curvature of spline
Post: How to calculate curvature of spline
Hi there,
Please can you help, I'm trying to create a spline between two points but with a certain curvature. This would be at runtime (if that matters).
My example, suppose I have a curved trai... |
|
jh092 |
Curvy Splines
|
3 |
2,064 |
07-29-2020, 08:14 PM |