Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Programming a first-person player/camera to follow a Curvy Spline
#2
Hi
This is doable using Curvy Splines:
You will probably need to use the Spline Controller component, which is one of the three available controllers.
This component allows to move an object along a spline. You can set the position and/or speed of the controller, both via editor/animator and API.
This tutorial shows how to do a simple setup of a controller:
https://www.youtube.com/watch?v=CPOfoIVbeCE

For more information, here is the user manual for the Controllers, followed by the API Reference of both SplineController, and the class it inherits from, CurvyController:
https://curvyeditor.com/documentation/controllers/start
https://api.curvyeditor.com/FluffyUnderware.Curvy.Controllers.SplineController.html
https://api.curvyeditor.com/FluffyUnderware.Curvy.Controllers.CurvyController.html

Feel free to ask me for more details.
I hope this helped. Have a nice day
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
RE: Programming a first-person player/camera to follow a Curvy Spline - by _Aka_ - 05-21-2023, 05:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Additional offset to Follow behaviour Ayyappa 3 7 04-30-2024, 01:35 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
Last Post: _Aka_
  snap to the curve created by the curvy splines segment points ShiroeYamamoto 3 11 04-02-2024, 02:24 PM
Last Post: _Aka_

Forum Jump: