Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing speed in splineController.cs
#2
First you need to include the namespace:

Code:
using FluffyUnderware.Curvy.Controllers;

Then you can reference the Splinecontroller you want to access, like:

Code:
public SplineController xy;

Then you can access its values. For speed it is:

Code:
xy.Speed = 5;
Reply


Messages In This Thread
Changing speed in splineController.cs - by FlashX - 10-21-2015, 06:37 AM
RE: Changing speed in splineController.cs - by MayhemMike - 10-21-2015, 01:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  Changing Lanes Antonio 1 11 09-17-2023, 08:23 PM
Last Post: _Aka_
  Changing material of Volume spot at creation? _RicO 5 11 08-11-2023, 09:39 AM
Last Post: _Aka_
  Changing range affects generated mesh GameJazz 10 33 12-15-2022, 08:28 AM
Last Post: GameJazz

Forum Jump: