# Physx GPU Acceleration

**URL:** <https://forums.unrealengine.com/t/physx-gpu-acceleration/70130>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [July 28, 2016, 4:23pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130 "2016-07-28T16:23:19Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![OptimisticMonkey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/optimisticmonkey/32/906571_2.png) [@OptimisticMonkey](https://forums.unrealengine.com/u/OptimisticMonkey)\
**Post date:** [July 28, 2016, 4:23pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/1 "2016-07-28T16:23:19Z")

</div>

Does the stock UE Engine support gpu accleration of physics?

Or do you have to use the nvidia UE4 Physx source on github?

(e.g. Would like to use destructibles, want to have game run accelerated if machine supports, or fallback to cpu if it does not)

Thanks in advance for any feedback

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9fcda7641](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9fcda7641](https://forums.unrealengine.com/u/anonymous_user_9fcda7641)\
**Post date:** [July 28, 2016, 4:41pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/2 "2016-07-28T16:41:23Z")

</div>

> [@OptimisticMonkey;572257](#):
>
> Does the stock UE Engine support gpu accleration of physics?
> 
> Or do you have to use the nvidia UE4 Physx source on github?
> 
> (e.g. Would like to use destructibles, want to have game run accelerated if machine supports, or fallback to cpu if it does not)
> 
> Thanks in advance for any feedback

Their physics runs on the CPU mostly. If you want to use Physx you have to use the github source.

They talk about that on this vid (at around the 3:03 mark).

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/3/b338520d45ffcaae7638695ea83d1ceb60168329.jpeg "Physics-Based Simulations & Effects | Live Training | Unreal Engine") ](https://www.youtube.com/watch?v=-lFKZRX1K_0)

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [July 28, 2016, 4:50pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/3 "2016-07-28T16:50:34Z")

</div>

UE4 does not use GPU acceleration for PhysX, not sure if Nvidia has a branch for UE4 that does.

---

<div class="post-metadata">

**Author:** ![OptimisticMonkey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/optimisticmonkey/32/906571_2.png) [@OptimisticMonkey](https://forums.unrealengine.com/u/OptimisticMonkey)\
**Post date:** [July 28, 2016, 4:58pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/4 "2016-07-28T16:58:57Z")

</div>

Thanks for the quick reply - was hoping it would automatically leverage gpu acceleration if available and fallback otherwise…

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [July 28, 2016, 5:33pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/5 "2016-07-28T17:33:57Z")

</div>

The reason it’s not there is so that it supports AMD and Nvidia GPU’s equally

---

<div class="post-metadata">

**Author:** ![Invertex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Invertex](https://forums.unrealengine.com/u/Invertex)\
**Post date:** [March 17, 2017, 10:41pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/6 "2017-03-17T22:41:42Z")

</div>

> [@darthviper107;572300](#):
>
> The reason it’s not there is so that it supports AMD and Nvidia GPU’s equally

This doesn’t really make sense… You’re essentially saying Nvidia users shouldn’t be allowed to use their GPUs to the fullest extent just for AMDs sake.

---

<div class="post-metadata">

**Author:** ![darthviper107](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/darthviper107/32/710746_2.png) [@darthviper107](https://forums.unrealengine.com/u/darthviper107)\
**Post date:** [March 17, 2017, 10:58pm UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/7 "2017-03-17T22:58:38Z")

</div>

Epic doesn’t want features that require something that’s only on one GPU. For example, if you were to make a game that uses physics extensively and would only work well with GPU acceleration.

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [March 18, 2017, 3:20am UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/8 "2017-03-18T03:20:47Z")

</div>

Not really, the reason why is because the engine is multiplatform and they don’t want duplicated code in codebase;  
CryEngine for example usually will use what a particular platform offers, but then rewrite the code in some other module to support other platforms, making “duplicated pieces” of engine code here and there… Epic just won’t do that.

---

<div class="post-metadata">

**Author:** ![OptimisticMonkey](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/optimisticmonkey/32/906571_2.png) [@OptimisticMonkey](https://forums.unrealengine.com/u/OptimisticMonkey)\
**Post date:** [March 18, 2017, 6:20am UTC](https://forums.unrealengine.com/t/physx-gpu-acceleration/70130/9 "2017-03-18T06:20:46Z")

</div>

Just to clarify, even nvidia’s gpu enabled UE only supports “cosmetic” physics on gpu - like fluid simulations, flex, hair, wave, etc…

Core physics requires too much integration with cpu game engine to be viable.

The link is:  
[https://github.com/NvPhysX/UnrealEngine](https://github.com/NvPhysX/UnrealEngine)

Personally, I dont think AMD support has anything to do with it not being supported.

For example, Epic’s RoboRecall only works on Occulus and not Vive.
