Major Update - Physique Fixed Update And Thread
Physics process run in a fixed update in a thread
This commit is contained in:
@@ -477,6 +477,13 @@ void imguiManager::WidgetEngineSettingsWindow(ApplicationClass* app)
|
||||
app->SetFrustumTolerance(frustumTolerance);
|
||||
}
|
||||
|
||||
// Input To set the Fixed Update Interval
|
||||
int physicsInterval = app->GetPhysicsTickRate();
|
||||
if (ImGui::InputInt("Physics Tick Rate", &physicsInterval))
|
||||
{
|
||||
app->SetPhysicsTickRate(physicsInterval);
|
||||
}
|
||||
|
||||
ImGui::End();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user