Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Guide to custom placing stuff on spline
Post: RE: Guide to custom placing stuff on spline

As far as I know, this extension is used for moving object along a spline. It can be used for spawning objects along the spline. If You need something like building environment in real-time (gamepl...
velikizlivuk Curvy Splines - support forum 15 43 09-30-2023, 01:28 PM
    Thread: OnSplineCreated or similar
Post: RE: OnSplineCreated or similar

Create "empty" prefab that has Your event and instantiate that one whenever user creates Spline and create spline inside "empty" prefab? If I understood the problem correctly?
velikizlivuk Curvy Splines - support forum 4 14 09-06-2023, 07:05 PM
    Thread: Getting object on spline Position when Spline has coordinates larger than 2000
Post: RE: Getting object on spline Position when Spline ...

Yeah, getting relative position depends on direction of spline, so flipping it after that results in getting opposite relative position if I got it right.
velikizlivuk Curvy Splines - support forum 5 11 09-05-2023, 01:01 PM
    Thread: Getting object on spline Position when Spline has coordinates larger than 2000
Post: RE: Getting object on spline Position when Spline ...

Using  curvySpline.Flip() after relative object on Spline position is set, results in this kind of behavior. Also, converting object position to local space and then doing: float relativePositionToAt...
velikizlivuk Curvy Splines - support forum 5 11 09-04-2023, 01:01 PM
    Thread: Getting object on spline Position when Spline has coordinates larger than 2000
Post: RE: Getting object on spline Position when Spline ...

Using CurvySpline 8.7.2 and it is strange. On two separate scenes when spline and object (that attaches to spline on collision) are moved to x:-2000 relative position of contact is 1 and it should be ...
velikizlivuk Curvy Splines - support forum 5 11 09-04-2023, 10:02 AM
    Thread: Getting object on spline Position when Spline has coordinates larger than 2000
Post: Getting object on spline Position when Spline has ...

When Spline is located around world vector3.zero this: curvySpline.GetNearestPointTF(curvySpline.GetNearestPoint(this.gameObject.transform.position, Space.Self)) does return Relative position correctl...
velikizlivuk Curvy Splines - support forum 5 11 09-03-2023, 05:50 PM
    Thread: Train carriage with 2 bogies following a path
Post: RE: Train carriage with 2 bogies following a path

Isn't difference of Absolute positions of two objects on spline equal to distance between those two? Or use Relative position combined with spline length?  Do not use Relative position look at few po...
velikizlivuk Curvy Splines - support forum 9 27 08-24-2023, 10:40 AM
    Thread: Train carriage with 2 bogies following a path
Post: RE: Train carriage with 2 bogies following a path

Once both are connected just move first one while second Absolut position if first one plus some distance? If moving along spline direction +distance if against then -distance or vice versa not sure a...
velikizlivuk Curvy Splines - support forum 9 27 08-23-2023, 10:41 AM
    Thread: Getting reference to Generator and InputSplinePath Spline
Post: RE: Getting reference to Generator and InputSpline...

Needed to add using FluffyUnderware.Curvy.Controllers; using FluffyUnderware.Curvy.Generator; // This and using FluffyUnderware.Curvy.Generator.Modules; // This one using FluffyUnderware.DevTool...
velikizlivuk Curvy Splines - support forum 3 9 08-15-2023, 11:08 PM
    Thread: Getting reference to Generator and InputSplinePath Spline
Post: RE: Getting reference to Generator and InputSpline...

Ahaaaa .... Thanks a lot!
velikizlivuk Curvy Splines - support forum 3 9 08-15-2023, 10:35 PM
    Thread: Getting reference to Generator and InputSplinePath Spline
Post: Getting reference to Generator and InputSplinePath...

Since only part of spline that can trigger collision is Mesh (FluffyUnderware.Curvy.Generator.CGMeshResource) how to get reference to its root (Generator) and Spline Path when collision with other obj...
velikizlivuk Curvy Splines - support forum 3 9 08-14-2023, 04:21 PM
    Thread: How to detect bend in a spline or strait part of spline at position
Post: RE: How to detect bend in a spline or strait part ...

Figured it out. Move leaning logic behind base.Update() in my Motor Update() component and: this.gameObject.transform.localEulerAngles = new Vector3 (this.gameObject.transform.localEulerAngles.x, th...
velikizlivuk Curvy Splines - support forum 10 31 08-13-2023, 09:05 PM
    Thread: How to detect bend in a spline or strait part of spline at position
Post: RE: How to detect bend in a spline or strait part ...

No wonder I removed feature since it was not working. Up Dumping Time: does something similar but now I want to make it work. How to apply rotation of object on rail since it is constantly correc...
velikizlivuk Curvy Splines - support forum 10 31 08-13-2023, 07:15 PM
    Thread: How to detect bend in a spline or strait part of spline at position
Post: RE: How to detect bend in a spline or strait part ...

I used 2 variables for storing tangents during Update method private Vector3 previousTangent=Vector3.zero; private Vector3 currentTangent=Vector3.zero; and in Update: // Check if we have curre...
velikizlivuk Curvy Splines - support forum 10 31 08-13-2023, 06:15 PM
    Thread: Adding Begining and End Mesh to Spline
Post: RE: Adding Begining and End Mesh to Spline

Thank You very much!
velikizlivuk Curvy Splines - support forum 2 4 08-02-2023, 11:10 AM
    Thread: Adding Begining and End Mesh to Spline
Post: Adding Begining and End Mesh to Spline

Is there a solution for this in Spline Generator or was it intended to be added manually as child object to first and last point on Spline?
velikizlivuk Curvy Splines - support forum 2 4 08-01-2023, 04:01 PM
    Thread: How to detect bend in a spline or strait part of spline at position
Post: RE: How to detect bend in a spline or strait part ...

Will try, thank You!
velikizlivuk Curvy Splines - support forum 10 31 07-30-2023, 05:14 PM
    Thread: How to detect bend in a spline or strait part of spline at position
Post: How to detect bend in a spline or strait part of s...

More precisely, hot to detect if current relative position is on bend and how strong the bend is? If that makes sense? I'm planning to implement bend leaning of my train cart that will have 2 pa...
velikizlivuk Curvy Splines - support forum 10 31 07-29-2023, 07:41 PM
    Thread: Moving object down or up the spline using gravity
Post: RE: Moving object down or up the spline using grav...

I ended up using this: Code: -- public class Cart_MotorController : SplineController     {         [Section("Motor")]         public float MaxSpeed = 30;         public float RailSlopeFactor ...
velikizlivuk Curvy Splines - support forum 6 20 07-26-2023, 05:52 PM
  Smile Thread: Moving object down or up the spline using gravity
Post: RE: Moving object down or up the spline using grav...

Will try, thanks!
velikizlivuk Curvy Splines - support forum 6 20 07-25-2023, 11:10 PM