-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Sim step slowing down #350
Comments
Are any of the objects moving? Or is the whole scene static? Let me know if you need help figuring out how to profile the program. |
They're static. But yes I'm in debug mode. Maybe I need to compile rp3d in release and my code in debug. I'll run gprof though and see what comes out. |
Can I disable the debugging stuff while remaining in non-release build? |
You can enable optimization (eg -O2 or -O3) on the rp3d Debug library, but mixing Debug and Release builds isn't recommended, if it will compile at all. |
Thanks. I turned off debug drawing - are there any other options like that I might have missed that are on by default? |
Try profiling with the orbit profiler to find out where most of the time is being spent.! |
Have you already tried the last release of the library (version v0.10.0)?. I have made a change that has improved a lot the performance of static bodies. |
I have about 1000 box colliders, but they're all (a) static and (b) not set to collide with each other. However the world step has gotten very slow. Is RP3D not ok with large numbers of objects in general?
The text was updated successfully, but these errors were encountered: