I managed to triple the amount of concurrent NPCs I had before...
-
I managed to triple the amount of concurrent NPCs I had before...
Don't ask me how, or I might end up in gamedev jail. Also, it is not sustainable or stable... So far.
Also also, I reached some Jolt limit that I need to check.
-
I managed to triple the amount of concurrent NPCs I had before...
Don't ask me how, or I might end up in gamedev jail. Also, it is not sustainable or stable... So far.
Also also, I reached some Jolt limit that I need to check.
@afreytes For a second, I thought you were just being rude with your main character energy. :D
Awesome to see hard work pay off!
-
I managed to triple the amount of concurrent NPCs I had before...
Don't ask me how, or I might end up in gamedev jail. Also, it is not sustainable or stable... So far.
Also also, I reached some Jolt limit that I need to check.
I redid the original scene using a plain node and inline classes and I got 10x the amount of NPCs. But when I tried to apply that to a 3D scene it gave me almost the same number of NPCs I had before.
My lesson is that I shouldn't try to dynamically spawn nodes. (yeah duh!). And just commit to spawn everything up front and cycle through instances as needed.
I am now trying to more closely check the node tree. And whether nodes are "valid" before applying NPCs actions.
-
I redid the original scene using a plain node and inline classes and I got 10x the amount of NPCs. But when I tried to apply that to a 3D scene it gave me almost the same number of NPCs I had before.
My lesson is that I shouldn't try to dynamically spawn nodes. (yeah duh!). And just commit to spawn everything up front and cycle through instances as needed.
I am now trying to more closely check the node tree. And whether nodes are "valid" before applying NPCs actions.
This means that.
If I really wanted to have some sort of dynamic NPCs that seem like they are not on rails I have to consider how many I would need up front.
Maybe I could mix "smarty" NPCs with "dumby" NPCs if I wanted to have the appearance of a crowded town, for example.
This isn't anything new, of course, these aren't revelations. But it's cool (to me!) that I got here through some trial and error and now I know a bit better.
-
undefined oblomov@sociale.network shared this topic on