How to get max delta time settings?

How can I get the values of the physics tabs on the settings. I’m trying to find it in the documentation but I can’t.

I want to get the max physics delta time, and max delta time values.


You can access any of settings like that pretty much the same way. Here’s example for your case:

const UPhysicsSettings* Settings = GetDefault<UPhysicsSettings>();
if( Settings )
	const float MaxDelta = Settings->MaxPhysicsDeltaTime;
	UE_LOG(LogTemp, Warning, TEXT("MaxPhysicsDeltaTime: %f"), MaxDelta);

You will also need following include:

#include "PhysicsEngine/PhysicsSettings.h"

Hope this helps.