08-28-2018, 01:25 PM
Hi,
To give you an example of code linking inputs to Curvy:
As you can see, it is very simple code. The controllers (script that move objects) have the needed properties, you just have to fill them accordingly to the user inputs.
More about controllers here: https://curvyeditor.com/documentation/controllers
Yes, an object can move backward and forward, and can rotate 180° when moving backward. This behaviour can be deactivated.
Yes, you can project splines on top of other meshes (slopes, stairways, etc). There are various ways to do it, depending on your needs: using the toolbar, as a Curvy Generator module, or through the API.
Yes you can have multiple followers too.
Let me know if you have any other questions. Have a nice day.
To give you an example of code linking inputs to Curvy:
Code:
//Set the moving object's speed
splineController.Speed = MaxSpeedParameter + Mathf.Abs(Input.GetAxis("Vertical"));
//Set the moving object's direction
splineController.MovementDirection = Input.GetAxis("Horizontal") >= 0 ? MovementDirection.Forward : MovementDirection.Backward;
More about controllers here: https://curvyeditor.com/documentation/controllers
Yes, an object can move backward and forward, and can rotate 180° when moving backward. This behaviour can be deactivated.
Yes, you can project splines on top of other meshes (slopes, stairways, etc). There are various ways to do it, depending on your needs: using the toolbar, as a Curvy Generator module, or through the API.
Yes you can have multiple followers too.
Let me know if you have 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.