Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Move between control points
Post: RE: Move between control points
Ah, I saw that one but didn't think about scanning for out parameters. Out parameters are pretty hard to find with such a large API.
Thanks for pointing it out! |
|
Livealot |
Curvy Splines
|
2 |
3,748 |
08-02-2018, 07:33 PM |
|
|
Thread: Move between control points
Post: Move between control points
Are there shortcut methods that would help move a SplineController from ControlPoint A to ControlPoint B on a spline? In my scenario, I'm not using speed. I'm directly controlling the gameobjects move... |
|
Livealot |
Curvy Splines
|
2 |
3,748 |
08-02-2018, 06:44 PM |
|
|
Thread: Orientation in 2D
Post: RE: Orientation in 2D
Great news. I now have Curvy working in 100% of my 2D use cases.
Your initial suggestion to just flip the ending CP was ultimately correct. It didn't seem correct at first due to the pooling issue ... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
08-01-2018, 08:00 PM |
|
|
Thread: Orientation in 2D
Post: RE: Orientation in 2D
GetOrientationFast will throw an IndexError if its called prior to refreshing the spline after creating new control points. Refreshing the spline is automatic when you use spline.Add and when you use ... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
08-01-2018, 12:30 AM |
|
|
Thread: Orientation in 2D
Post: RE: Orientation in 2D
I found one of the big wrenches that was mucking up things for me. I'm drawing and redrawing tracks at runtime, and I use Spline.Clear() to clear out the old control points before spawning new one. Bu... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
07-30-2018, 11:27 PM |
|
|
Thread: Orientation in 2D
Post: RE: Orientation in 2D
I'm a new user, so the version I got from the Asset Store was 2.3.0
Ok, so it sounds like using Dynamic orientation is what battles with my instantiation script. So I'll try it with Static orientat... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
07-30-2018, 04:47 PM |
|
|
Thread: Orientation in 2D
Post: RE: Orientation in 2D
The simple approach of just rotating the last control point only worked for some cases, so I'm trying to find the correct 2D rotation approach for each control point. I am still struggling to translat... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
07-29-2018, 09:31 PM |
|
|
Thread: Orientation in 2D
Post: RE: Orientation in 2D
Ok, this seems to be on the right track. yuck yuck. But I need to be able to figure out the rotation procedurally to work for any track design. Since I'm dynamically generating control points as I go,... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
07-26-2018, 04:41 PM |
|
|
Thread: Orientation in 2D
Post: RE: Orientation in 2D
hmmm, I'm hoping there's a procedural approach rather than having to manually adjust every control point. For context, let's imagine a 2D rollercoaster where the course is procedurally generated. I'm ... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
07-26-2018, 03:05 PM |
|
|
Thread: Orientation in 2D
Post: Orientation in 2D
I'm working with sprites in 2D, so set my CurvySpline to Restrict to 2D. That seems to affect control points but not orientation. The orientation vector does not stick to the same XY plane. So, sprite... |
|
Livealot |
Curvy Splines
|
15 |
15,056 |
07-24-2018, 09:54 PM |
|
|
Thread: Working with, around, or against SplineController
Post: RE: Working with, around, or against SplineControl...
Yep, that's the kind of advice I'm looking for, Thanks! |
|
Livealot |
Curvy Splines
|
2 |
3,475 |
07-20-2018, 06:45 PM |
|
|
Thread: Working with, around, or against SplineController
Post: Working with, around, or against SplineController
Are there guidelines anywhere on how to work with the SplineController? Besides being consistent with the relative/absolute mode, it seems like there are other steps (i.e., update timing) about how to... |
|
Livealot |
Curvy Splines
|
2 |
3,475 |
07-20-2018, 04:30 PM |
|
|
Thread: Precision Following
Post: RE: Precision Following
Got it, and glad I'm not recreating the wheel.
Here's a simple version of a variable gap follower script for my 2d example, that works for what I need. But I could imagine a better version that use... |
|
Livealot |
Curvy Splines
|
3 |
4,261 |
07-18-2018, 12:09 AM |
|
|
Thread: Time based movement
Post: RE: Time based movement
Those interpolation methods are probably what I need. Thanks for pointing them out. The reference was at the 2:30 mark in Tutorial #2. On rewatching, it refers to functions about using spline distance... |
|
Livealot |
Curvy Splines
|
3 |
4,495 |
07-17-2018, 10:55 PM |
|
|
Thread: Time based movement
Post: Time based movement
In the tutorial video describing the differences between Absolute and Relative movement using the SplineController, it's mentioned that there's a 3rd way to control motion with time, and that there ar... |
|
Livealot |
Curvy Splines
|
3 |
4,495 |
07-17-2018, 06:13 PM |
|
|
Thread: Precision Following
Post: Precision Following
Howdy, new user here and excited to learn all about Curvy!
My first question is how to maintain precise gaps between gameobjects using the SplineController?
Ideally, I was hoping to find a "foll... |
|
Livealot |
Curvy Splines
|
3 |
4,261 |
07-17-2018, 06:07 PM |