Struct MovementState Extends IComponentData
    Public
    
    
    
    Public Methods
        
                SetPathIsEmpty
        
                (agentPosition)
    
                    
                    Sets the appropriate fields to indicate that the agent has no path.
                        Public
                    
                Public Variables
        
                closestOnNavmesh
        
    
                    
                    The closest point on the navmesh to the agent.
        
                endOfPath
        
    
                    
                    The end of the current path.
                        Public
                    
                
        
                hierarchicalNodeIndex
        
    
                    
                    The index of the hierarchical node that the agent is currently in.
                        Public
                    
                
        
                nextCorner
        
    
                    
                    The next corner in the path.
                        Public
                    
                
        
                pathIsStale
        
    
                    
                    True if the path needs to be recalculated as quickly as possible.
                        Public
                    
                
        
                pathTracerVersion
        
    
                    
                    Version number of PathTracer.version when the movement state was last updated.
                        Public
                    
                
        
                reachedDestination
        
    
                    
                    True if the agent has reached its destination.
                        Public
                    
                
        
                reachedEndOfPart
        
    
                    
                    True if the agent has reached the end of the current part in the path.
                        Public
                    
                
        
                reachedEndOfPath
        
    
                    
                    True if the agent has reached the end of the path.
                        Public
                    
                
        
                remainingDistanceToEndOfPart
        
    
                    
                    The remaining distance until the end of the path, or the next off-mesh link.
                        Public
                    
                
        
                rotationOffset
        
    
                    
                    The current additional rotation that is applied to the agent.
                        Public