How do I - Limit the frame rate?

Hey. I want to limit the frame rate to 60 or 30 fps.

How would I go about doing this in a SimpleApplication?

Thanks

1 Like

[java]AppSettings newSetting = new AppSettings(true);

newSetting.setFrameRate(30);

setSettings(newSetting);

[/java]

(before application.start()!)

1 Like

cheers. That worked, I was setting it after the app.start()