10-19-2022, 10:15 AM
Hi again
I see that you used the Volume Spots module to place your chain. Right now, I don't see a way to do the animation you want using that module. But, you can do it using another method, using controllers:
The idea is to have multiple game objects each one of them having a mesh renderer to display a chain link, and a Spline Controller to place it on the spline and animate it. You can set up this manually, but the best is to do this automatically using Unity's and Curvy's APIs. The main members you will need in the Spline Controller class are:
AbsolutePosition: to position each link.
Speed: the define its movement.
If you are confortable with coding, you can even, for performance reasons if needed, avoid using the Spline Controller class, and place the objects yourself using Curvy's API. In this scenario, the main methods to use are:
CurvySpline.InterpolateByDistance and CurvySpline.GetOrientationFast.
Did this help?
Have a nice day
I see that you used the Volume Spots module to place your chain. Right now, I don't see a way to do the animation you want using that module. But, you can do it using another method, using controllers:
The idea is to have multiple game objects each one of them having a mesh renderer to display a chain link, and a Spline Controller to place it on the spline and animate it. You can set up this manually, but the best is to do this automatically using Unity's and Curvy's APIs. The main members you will need in the Spline Controller class are:
AbsolutePosition: to position each link.
Speed: the define its movement.
If you are confortable with coding, you can even, for performance reasons if needed, avoid using the Spline Controller class, and place the objects yourself using Curvy's API. In this scenario, the main methods to use are:
CurvySpline.InterpolateByDistance and CurvySpline.GetOrientationFast.
Did this help?
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.