Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pitch and Speed
#2
Hi,

About the pitch: The Spline Controller script's inspector does not give you such fine control over the orientation of the object. But you can do so through coding. You can do that different ways. For example:
  • you can add a script that will run after the controller's script (see "Execution Order" in Unity's documentation) to modify the object's orientation according to your pitching logic
  • Modify the method called ComputeTargetPositionAndRotation in the relevant controller class (they all inherit from CurvyController) to include your pitching logic.
About the speed: Controllers have a Speed property that you can edit freely, either though the inspector or the API, so having your own script that updates the Speed each frame according to your constraints should do the work.

Any other questions?

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
Pitch and Speed - by sirak - 11-23-2018, 01:06 AM
RE: Pitch and Speed - by _Aka_ - 11-23-2018, 02:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Change Speed on spline linkinballzpokemon 1 28 12-29-2021, 10:58 AM
Last Post: _Aka_
  Controller speed questions Lupp_ 6 1,863 01-20-2021, 09:20 PM
Last Post: _Aka_
Question Changing speed between ControlPoints funkd 5 2,469 10-02-2020, 12:36 PM
Last Post: _Aka_
  Connections during speed change 3583Bytes 8 8,104 04-05-2019, 01:12 PM
Last Post: _Aka_

Forum Jump: