Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i don't find what is need
#1
for if need reverse spline we need another spline ? with VolumeControllerInput or PathController ?
Reply
#2
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;
Reply
#3
I more close to goal now

i got clamp when i set vc.CrossInitialPosition = craft[gg].cross;
Reply
#4

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
Reply
#5
Yes Look Trouble with volumecontroller for refresh .-! ? any help is welcome

it's working in editor and not in run

vc.InitialPosition = craft[gg].icipos;
vc.CrossInitialPosition = craft[gg].cross;

? please help
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find connections dazz777 5 3,214 09-12-2019, 11:08 AM
Last Post: _Aka_
  How do I find closest spline ? dazz777 4 4,946 02-20-2019, 09:47 AM
Last Post: dazz777
  Find if object is on spline path nciofi 1 3,073 07-10-2018, 09:23 AM
Last Post: _Aka_
  How to find a point a distance ahead on the spline? DCalabrese 4 7,753 05-07-2015, 11:10 PM
Last Post: kilik

Forum Jump: