# How to get max delta time settings?

**URL:** <https://forums.unrealengine.com/t/how-to-get-max-delta-time-settings/419663>\
**Category:** World Creation\
**Tags:** time, unreal-engine, Physics, delta-time, CPP, question\
**Created:** [March 12, 2018, 8:41pm UTC](https://forums.unrealengine.com/t/how-to-get-max-delta-time-settings/419663 "2018-03-12T20:41:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkgaze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@darkgaze](https://forums.unrealengine.com/u/darkgaze)\
**Post date:** [March 12, 2018, 8:41pm UTC](https://forums.unrealengine.com/t/how-to-get-max-delta-time-settings/419663/1 "2018-03-12T20:41:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Atheist91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Atheist91](https://forums.unrealengine.com/u/Atheist91)\
**Post date:** [March 13, 2018, 12:32pm UTC](https://forums.unrealengine.com/t/how-to-get-max-delta-time-settings/419663/2 "2018-03-13T12:32:17Z")

</div>

Hey.

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.
