how to use OCTREES in your Roblox Game
10,332
Published 2024-05-18
• Trees QuadTree OctTree
Check out Quenty's Octree module here!
quenty.github.io/NevermoreEngine/api/Octree/
Ever wanted to learn Roblox Studio & scripting? Check out my course:
bit.ly/LuaScriptingCourse
Use code DEV2024 for 33% off!
My linktree:
linktr.ee/crusherfire
Music used:
Lucid Dreaming by | e s c p | www.escp.space/
Happy scripting!
All Comments (21)
-
Ayy, new video. Octrees seem extremely useful, especially when paired with things like foliage moving in the wind or enitities. As always, keep it up king
-
finally a language I can understand this makes sense as a programmer this is my first time learning about roblox studio
-
You might not have been the Roblox Studio Youtuber we wanted, but you're definitely the ONE we desperately needed!
-
Thank you for covering this topic! I was waiting for a nice explanation to this module!
-
WOAH THAT'S COOL. i could see myself using this in the future. nice video! you're super underrated.
-
yo bro thanks for making clear and well explained videos on subjects that doesn't already have 5 million tutorials on them 👍👍
-
finally a video about this, when I decided to create my own, it was complicated with so little instruction like this
-
I could see this being useful in terms of possibly rendering objects from the workspace to the replicated storage to help performance on high end games with 100s of thousands of parts/high number of unions.
-
OMG you beat me to it, i wanted to a video about this cause no one has even talked about the grid system on roblox, its been really useful since i discevered how it works
-
Thanks a lot for explaining it so well!
-
Would you mind making roblox studio settings / plugins video? I would love to watch it and configure it as u have
-
You can rewrite the module to using functions and not hooking metamethods, and it will be even faster, I think.
-
Orc trees are good for constant objects. When it comes to dynamic objects that can move from one place to another you can run into a lot of issues. It’s complexity of proper garbage collection and table’s size limit. Since objects are constantly moving from one grid to another your code will have to spend a lot of time literally removing reference from one grid table to another. Which can get to the point to absolute the whole algorithm. Also don’t forget that extending tables in lua and luau automatically is very expensive. So you will probably have to use table.create() with the first parameter being the whole amount of data in tables, which will use one hell of amount of ram
-
Reminds me of the concept of BSPs
-
Hey, I would really like your roblox studio script theme, how'd you do it like that?
-
What's that autocomplete plugin you're using? also, this video is super helpful and informative
-
dude that less than or equal to changed its sign, what plugins are you using, when your mouse was hovering around the cube earlier, a white spot was coming at the ends. you gotta list your stuff man, they look pretty good, id like to try them sometime
-
how did i end up here. gotta love it when youtube mixes up unity and roblox tutorials and actually gives me something good. great video
-
Hey! I really like your editor theme, could you maybe share that?
-
does Octree allow that return radius search to return an instance? say if you made a zombie game and wanted to search zombies within radius of the player and all other zombies far away you want to respawn