Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some questeions what is included ?
#10
You add a script that contains the code I already wrote you in this previous post:

(08-28-2018, 01:25 PM)_Aka_ Wrote: Hi,
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;
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
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: Some questeions what is included ? - by _Aka_ - 08-27-2018, 02:16 PM
RE: Some questeions what is included ? - by _Aka_ - 08-28-2018, 01:25 PM
RE: Some questeions what is included ? - by _Aka_ - 09-07-2018, 04:07 PM
RE: Some questeions what is included ? - by _Aka_ - 09-14-2018, 08:56 PM
RE: Some questeions what is included ? - by _Aka_ - 09-19-2018, 10:52 AM
RE: Some questeions what is included ? - by _Aka_ - 10-30-2018, 11:07 PM
RE: Some questeions what is included ? - by _Aka_ - 11-01-2018, 11:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UV mapping improvements (code included!) bac9-flcl 1 6,472 08-07-2015, 11:50 AM
Last Post: Jake

Forum Jump: