I thought it was possible to change the fps of an app while it was running without needing to restart the application, but I have not had luck doing so. Is this possible?
I am running: app.getContext().getSettings().setFrameRate(fps)
it is just a fps limiter. I am using it server side to prevent my server fps from being over 200. But it would be nice to be able to change it live on the server for testing.
It is not supper accurate. set to 60, my fps stays at 58. Set to 200 my fps stays at 188. It has some timing issues, but it gets the job done.
Ah, you are one of the folks that boots the entire JME mostly-visualization infrastructure just to have a timing loop.
Yeah, I donāt know then. I abandoned that approach about 5 minutes into using JME 9 years ago. I understand why folks do itā¦ I just donāt agree with it.
Yeah, I never had a need for a visualization graph on the server. Just game objects. The server doesnāt care what things look like so I get to cut out like 70% cruft.
I mean, even as it stands, you have now spatials and rigid bodies and constantly copying values between themā¦ when you probably could have just had the rigid bodies.
Yes, it takes a bit to setup, but you can do mesh āaccurateā collisions in several ways. There are restrictions as to what you can collide them with, but it works reasonably well performance wise.