Alienhead Posted April 15, 2024 Posted April 15, 2024 ( LUA ) I'm just putting this here for a reminder, I know you've told me in Discord it's declared but I can promise you it's not working in LUA.. At least not in my build. It hangs on the IntersectsPoint command. The command Brush::IntersectsPoint is in and working.. But haven't got aabb working. The lack of this command has me held up currently, but hopefully it's an easy fix? box=CreateBox(world) aabb = box:GetBounds(BOUNDS_LOCAL) aabb:IntersectsPoint(Vec3(1,1,1)) Quote Alienhead Components and Software
Solution Josh Posted April 15, 2024 Solution Posted April 15, 2024 The error is on IntersectsPoint. I am testing it in the editor console. Ah, I see. There is an extra padding argument you must supply: aabb:IntersectsPoint(Vec3(0), 0) I will add an overload so this is not required. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Josh Posted April 15, 2024 Posted April 15, 2024 If you are using the debug build, it should not "hang". It should show an error and open the code file on the line where the error occurs. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Alienhead Posted April 15, 2024 Author Posted April 15, 2024 Josh, running debug in any project, even my controller project, results in this same thing - I dunno what the heck it's running: Quote Alienhead Components and Software
Josh Posted April 15, 2024 Posted April 15, 2024 You have an old build in which I make a mistake and compile it using a main file I was testing. You must sync your project to get the updated EXEs: https://www.ultraengine.com/learn/projectmanager Quote My job is to make tools you love, with the features you want, and performance you can't live without.
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.