예제 #1
0
파일: Bot_API.cs 프로젝트: kow/Aurora-Sim
        public void botFindPath(string bot, LSL_Vector startPos, LSL_Vector endPos)
        {
            IBotManager manager = World.RequestModuleInterface <IBotManager> ();

            if (manager != null)
            {
                manager.FindPath(UUID.Parse(bot), new Vector3((float)startPos.x, (float)startPos.y, (float)startPos.z),
                                 new Vector3((float)endPos.x, (float)endPos.y, (float)endPos.z));
            }
        }