Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i don't find what is need
#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


Messages In This Thread
i don't find what is need - by kilik - 02-08-2016, 11:42 PM
RE: i don't find what is need - by kilik - 02-09-2016, 07:15 AM
RE: i don't find what is need - by kilik - 02-09-2016, 08:08 AM
RE: i don't find what is need - by kilik - 02-09-2016, 01:25 PM
RE: i don't find what is need - by kilik - 02-10-2016, 02:12 PM

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 5 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: