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
  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_

Forum Jump: