Пример #1
0
 public bool GetSphereRailIntersection(Vector3 sphCenter, float sphRadius, int startIndex, int searchDir,
                                       out Vector3 pos, out Vector3 normal, out Vector3 tangent, out int segmentIndex)
 {
     return(RailBaseSpline.GetSphereSplineIntersection(sphCenter, sphRadius, startIndex, searchDir,
                                                       out pos, out normal, out tangent, out segmentIndex));
 }
Пример #2
0
 public bool GetPositionNormalTangent(float t, out Vector3 pos, out Vector3 normal, out Vector3 tangent, out int segmentIndex)
 {
     return(RailBaseSpline.GetPositionNormalTangent(t, out pos, out normal, out tangent, out segmentIndex));
 }