Find Path

Scene
सर्वर साइड
क्राफ्टलैंड स्टूडियो मोबाइल और पीसी दोनों पर उपलब्ध है

Create a path from the start point to the end point, will avoid obstacles, and can be used for AI pathfinding

डिक्लेरेशन

async func FindPath(startPosition Vector3, endPosition Vector3, out var isSuccess bool, out var pathPoints List<Vector3>)
go

पैरामीटर्स

इनपुट

नाम टाइप विवरण
Start Position Vector3 Starting point coordinate
End Position Vector3 End point coordinate

आउट

नाम टाइप विवरण
Is Success Bool Whether the pathfinding path is successfully established
Path Points ListT_Vector3 Path point collection