Class PathInterpolator
    Public
    
    Interpolates along a sequence of points.
Public Methods
        
                MoveToCircleIntersection2D
        
                (circleCenter3D, radius, transform)
    
                
                
                    Public
                
            
        
                MoveToClosestPoint
        
                (point)
    
                
                Move as close as possible to the specified point.
                    Public
                
            
        
                MoveToLocallyClosestPoint
        
                (point, allowForwards=true, allowBackwards=true)
    
                
                
                    Public
                
            
        
                MoveToSegment
        
                (index, fractionAlongSegment)
    
                
                Move to the specified segment and move a fraction of the way to the next segment.
                    Public
                
            
        
                SetPath
        
                (path)
    
                
                Set the path to interpolate along.
                    Public
                
            Public Variables
        
                distance
        
    
                
                Traversed distance from the start of the path.
                    Public
                
            
        
                position
        
    
                
                Current position.
                    Public
                
            
        
                remainingDistance
        
    
                
                Remaining distance until the end of the path.
                    Public
                
            
        
                segmentIndex
        
    
                
                Current segment.
                    Public
                
            
        
                tangent
        
    
                
                Tangent of the curve at the current position.
                    Public
                
            
        
                valid
        
    
                
                True if this instance has a path set.
                    Public
                
            Private/Protected Members
        
                currentDistance
        
    
                
                
                    Private
                
            
        
                currentSegmentLength
        
    
                
                
                    Private
                
            
        
                distanceToSegmentStart
        
    
                
                
                    Private
                
            
        
                NextSegment
        
                ()
    
                
                
                    Protected
                
            
        
                path
        
    
                
                
                    Private
                
            
        
                PrevSegment
        
                ()
    
                
                
                    Protected
                
            
        
                totalDistance
        
    
                
                
                    Private