Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Custom" option to Process Thread #267

Open
peterpants2 opened this issue Dec 7, 2023 · 1 comment
Open

Add "Custom" option to Process Thread #267

peterpants2 opened this issue Dec 7, 2023 · 1 comment

Comments

@peterpants2
Copy link

enum ProcessThread {
IDLE,
PHYSICS,
CUSTOM
}

I then used this CUSTOM option for finer control via a global script would call x amount of the behaviorTrees each frame. This helped immensely with performance for 50+ nav_agents with skeleton3D animations/sounds/hitboxes. You could have that value be a curve that reacts to FPS or possibly another behavior tree that manages the update rate based on distance.

@bitbrain
Copy link
Owner

bitbrain commented Dec 8, 2023

Interesting idea. Just to get this right: custom = off? That's usually what the disabled property on nodes is for (to disable automatic processing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants