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
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
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
Smile Constant speed along a spline? tfishell 1 657 11-13-2025, 11:32 AM
Last Post: _Aka_
  Controler Speed from metadata Bryan Thatcher 4 2,684 06-25-2024, 11:18 AM
Last Post: _Aka_
  Change Speed on spline linkinballzpokemon 1 1,543 12-29-2021, 10:58 AM
Last Post: _Aka_
  Controller speed questions Lupp_ 6 5,640 01-20-2021, 09:20 PM
Last Post: _Aka_

Forum Jump: