top | item 18590037

(no title)

aras_p | 7 years ago

Everything that is made with Unity or UE4 uses PhysX.

That said, not that many games use the GPU-accelerated parts of it; for a lot of gameplay physics CPU code path of PhysX works just fine and does not have special hardware requirements.

discuss

order

nfg|7 years ago

> Everything that is made with Unity or UE4 uses PhysX

That's not true - UE4 games can be (and are) built against other physics engines.

aras_p|7 years ago

Yeah, I should have clarified: most games using Unity or UE4 are using PhysX, since that's what these two engines are using out of the box.

tokyodude|7 years ago

Most engines can use other physics engines. People have also used other engines in Unity

pitaj|7 years ago

Yeah the GPU-accelerated part is what I was referring to. Doesn't seem like it makes much of a difference these days.

KaoruAoiShiho|7 years ago

I think you're really misunderstanding how this works. The CPU handles pretty much all game logic. It needs to know the position of each car, enemy, bullet, whatever, so it can decide how to respond to things, if a car hits a player it does damage. As a result it's impossible to hand off such calculations to the GPU, so all GPU accelerated physics do is trivial visual-only effects like cloth and water physics or pieces of paper blowing in the wind. Basically anyone expecting GPU accelerated physics that has logical relevance such as physics based destructible environments is expecting too much. In other words GPU accelerated game logic physics was never the promise of PhysX. PhysX focused on making physics really easy and great from a software standpoint, and that has been an outstanding success.

The visual-only portion of GPU physics is not really that compelling which is why there isn't huge uptake. There would need to be a revolution in how games work on a fundamental level where basic game logic is calculated on the GPU to make true GPU physics happen. We might see that eventually but not anytime soon.

sebazzz|7 years ago

I am not familiar with PhysX - must you explicitly program with PhysX against the GPU?

msbarnett|7 years ago

No. Most games use it on the CPU, as the GPU accelerated implementation is currently only available on Nvidia cards