Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get api in java
#6
(08-11-2013, 11:08 AM)kilik Wrote: Ok ! sorry noobs Inside ! !<< Smile)
thanks ! Smile) is help lot Smile


var script = Cur.GetComponent(CurvySpline);

pos =Vector3;
pos2 = 0.1f;
pos = script.GetTangentByDistance ( pos2 );

and she say
ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
System.Collections.Generic.List`1[CurvySplineSegment].get_Item (Int32 index) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Collections.Generic/List.cs:633)
CurvySpline.DistanceToSegment (Single distance, System.Single& localDistance) (at Assets/plugins/Base/CurvySpline.cs:803)
CurvySpline.DistanceToTF (Single distance) (at Assets/plugins/Base/CurvySpline.cs:777)
CurvySpline.GetTangentByDistance (Single distance) (at Assets/plugins/Base/CurvySpline.cs:755)
CurvyNext.Awake () (at Assets/Scripts/CurvyNext.js:18)

same thinks with other like InterpolateByDistance

Do you have a screenshot of all Components of the affected GameObject? Or an example scene alternatively?
Reply


Messages In This Thread
get api in java - by kilik - 08-06-2013, 09:16 AM
RE: get api in java - by kilik - 08-10-2013, 04:01 PM
RE: get api in java - by Jake - 08-11-2013, 05:56 PM

Forum Jump: