# Include PhysxSupport.h

**URL:** <https://forums.unrealengine.com/t/include-physxsupport-h/14202>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [October 28, 2014, 7:30pm UTC](https://forums.unrealengine.com/t/include-physxsupport-h/14202 "2014-10-28T19:30:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [April 4, 2015, 4:37pm UTC](https://forums.unrealengine.com/t/include-physxsupport-h/14202/5 "2015-04-04T16:37:36Z")

</div>

How to Include PhysXSupport.h

**You can Indeed #include PhysXSupport.h**

For anyone who finds this in the future, you can easily include PhysXSupport for Epic’s awesome SceneLocking macros like this:

//make sure you have PhysX and APEX in your builds cs as shown above

and then add these includes in the .cpp where you want to use SCOPED\_READ\_LOCK etc

```auto

//PhysX 
#include "PhysXIncludes.h"
#include "PhysicsPublic.h" //For the ptou conversions
#include "Runtime/Engine/Private/PhysicsEngine/PhysXSupport.h"

```

The secret is this:

```auto

#include "Runtime/Engine/Private/PhysicsEngine/PhysXSupport.h"

```

😉

---

_[View the full topic](https://forums.unrealengine.com/t/include-physxsupport-h/14202)._
