Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Distance-based CurvyController
I'm looking to do my own controller for movement along a spline but instead of tracking speed as I see the existing Controllers do I'm looking to increment by a calculated (absolute) distance on each FixedUpdate. Looking at the implementation functions of CurvyController, is there a way you can see of implementing this behavior by extending it or will I have to do it another way, and if so how would you recommend doing so?

Maybe I am not understanding you properly, but if you want to move by a fixed update each fixed update, you can do it without modifying code by:
- Setting Update In to Fixed Update
- Setting Move Mode to Absolute
- Setting speed to distance_moved_by_frame / Time.fixedDeltaTime
Does my solution answer your need?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Volume Mesh bug based on whether input spline is closed GameJazz 2 10 12-15-2022, 08:32 AM
Last Post: GameJazz
  Absolute distance along spline for Shape Extrusion Module amutp 3 264 10-31-2021, 10:26 AM
Last Post: _Aka_
  Volume Spots and Distance from generator topquarkone 5 604 09-16-2021, 08:17 PM
Last Post: _Aka_
  get a point on the curve a distance away from another fortune53 1 699 03-31-2021, 07:46 AM
Last Post: _Aka_

Forum Jump: