02-17-2021, 11:05 AM
Hi
Right now controllers can't follow a path only on specific translation/rotation dimensions. That's a feature that I am planning to include in the next major update. Until then, you can implement a solution to your specific use case by inheriting from the Spline Controller class. Override the ComputeTargetPositionAndRotation method by making sure the computed up vector is ignored and replaced by the locked y direction you want. Do you see what I mean?
Right now controllers can't follow a path only on specific translation/rotation dimensions. That's a feature that I am planning to include in the next major update. Until then, you can implement a solution to your specific use case by inheriting from the Spline Controller class. Override the ComputeTargetPositionAndRotation method by making sure the computed up vector is ignored and replaced by the locked y direction you want. Do you see what I mean?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.