02-08-2016, 11:42 PM
for if need reverse spline we need another spline ? with VolumeControllerInput or PathController ?
i don't find what is need
|
02-08-2016, 11:42 PM
for if need reverse spline we need another spline ? with VolumeControllerInput or PathController ?
in VolumeController script how the the volume by script ?
vc.OrientationMode = CurvyOrientation.None; say Assets/FastPos.cs(61,55): error CS0117: `FluffyUnderware.Curvy.CurvyOrientation' does not contain a definition for `none' public void Create(){ GameObject pref = obj [Random.Range (0, obj.Length)]; GameObject me = Instantiate (pref, transform.position, Quaternion.identity)as GameObject; //if (vc.IsInitialized == true) me.transform.parent = transform; vc = me.AddComponent<VolumeController> (); Debug.Log (vc.IsInitialized ); vc.PositionMode = CurvyPositionMode.WorldUnits; vc.OrientationMode = CurvyController.OrientationModeEnum.None; // vc.OrientationMode ( CurvyOrientation.None ); vc.InitialPosition = icipos; vc.CrossPosition = cross; vc.m_Volume = m_Volumeb; vc.Refresh (); icipos += 50; } Debug.Log (vc.IsInitialized ); return false;
02-09-2016, 08:08 AM
I more close to goal now
i got clamp when i set vc.CrossInitialPosition = craft[gg].cross; Any to convert Tf to world value please ? vc.Stop(); vc.Position = ISpline.me.Point_Spline +replace; vc.InitialPosition = ISpline.me.Point_Spline +replace; vc.Play(); vc.Refresh(); Does't Work |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Find intersection point | soccertrash | 5 | 30 |
10-22-2022, 05:46 PM Last Post: _Aka_ |
|
How can I find the point on the spline after applying with offset angle+radius? | Chanon | 1 | 8 |
10-01-2022, 11:50 AM Last Post: _Aka_ |
|
How to find out whether the spline is self-intersected. | mydayz | 1 | 230 |
10-19-2021, 12:08 PM Last Post: _Aka_ |
|
How to find connections | dazz777 | 5 | 3,793 |
09-12-2019, 11:08 AM Last Post: _Aka_ |