Dreikblack Posted February 1 Share Posted February 1 Need asap it for lua variation of my 3rd tutorial -- Get the displays local displays = GetDisplays() -- Create a window local window = CreateWindow("Ultra Engine", 0, 0, 1280, 720, displays[1], WINDOW_CENTER + WINDOW_TITLEBAR) -- Create a world local world = CreateWorld() -- Create a framebuffer local framebuffer = CreateFramebuffer(window) -- Create light local light = CreateBoxLight(world) light:SetRange(-10, 10) light:SetRotation(15, 15, 0) light:SetColor(2) -- Create camera local camera = CreateCamera(world) camera:SetClearColor(0.125) camera:SetPosition(0, 0, -3) camera:SetFov(70) camera:Project(Vec3(0,0,0), framebuffer) -- Main loop while not window:Closed() and not window:KeyDown(KEY_ESCAPE) do -- Click on an object to change its color world:Update() world:Render(framebuffer) end Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted February 1 Author Share Posted February 1 Also not bound Material::SetPickMode() Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted February 1 Author Share Posted February 1 Agent:Navigate returns nil when should bool You can add it to example to test it: local test = agent:Navigate(rayinfo.position) Print(test) https://www.ultraengine.com/learn/NavAgent_Navigate?lang=lua Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted February 2 Author Share Posted February 2 Agent:GetDestination is not bound and i need for tutorial as well Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted February 7 Solution Share Posted February 7 All these changes will be included in today's build. Camera::UnProject will be called Unproject in Lua, and will later get changed in C++ as well. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.