Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Switch Spline Problem
#5
Hi
Can you tell me what you are trying to do exactly? Maybe using SwitchTo is not what you need. Do you just need to make your controller follow another spline once it reaches the end of a first one? If so, have you thought about using connections? You can see it used in example scene 03_Connections.

The SwitchTo applies a transition that is not instant. More about that method here:
https://api.curvyeditor.com/FluffyUnderw...em_Single_

By setting position to 0, you will not stop the position to be set to 1 at the end of the transition, that you set to take 1 second.

If you give me more information about your end goal, I will probably be able to help you more.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
Switch Spline Problem - by erenjeagerot - 05-29-2023, 03:16 PM
RE: Switch Spline Problem - by _Aka_ - 05-29-2023, 07:26 PM
RE: Switch Spline Problem - by erenjeagerot - 05-30-2023, 05:29 AM
RE: Switch Spline Problem - by erenjeagerot - 05-30-2023, 09:09 AM
RE: Switch Spline Problem - by _Aka_ - 05-30-2023, 10:49 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Connections Problem Juton 3 16 03-06-2024, 10:41 AM
Last Post: _Aka_

Forum Jump: