• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Bob_work · May 13, 2020 at 08:44 AM · physx

Does Unity3D can move physical computing to GPU?

Does Unity3D can move physical computing to GPU? If not implemented now, can unity3D support it in the future? My reason is: a 2-hand GTX660ti does not exceed $ 30, but the single-precision floating-point computing power has 2.46TFlops, which is 5 times the floating-point performance of the top CPUs! And from the point of view of the Windows task manager, unity3D is difficult to make the CPU usage of the game exceed 50% while running. Therefore, it is now necessary to transfer PhysX's physical computing to the GPU (as a physical computing card). Please Unity official must consider this opinion!

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bob_work · May 15, 2020 at 05:03 PM 0
Share

I downloaded Fluid $$anonymous$$ark 1.5.2 and tested PhysX's physical computing ability. $$anonymous$$y graphics card is GTX1080ti, and the result is 250,000 particles with an average frame rate of 48 frames, so a GTX1080ti (11.5TFlops) should be able to calculate 12,000,000 particles (rigibody) per second. I also checked the floating-point computing capability of the GTX660 graphics card, it's 1881.6GFlops, almost 1/6 of 1080ti. Then the GTX660 can calculate 2 million particles per second (infer). At the situaiton of 30 frames per second, it will be 66,666 particles (rigibody) per frame. And Unity 2019.3 supports the New mid-phase function, and it can be greatly optimized to reduce a lot of calculations. So, it is time to support PhysX running on GPU. (For A$$anonymous$$D, Havok is also okay, as long as developers use the same APIs)

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by fffMalzbier · May 13, 2020 at 09:26 AM

Unity uses the CPU version of the NVIDIA Physx engine. Since most platforms do not have support for t GPU NVIDIA Physx and even the more then half of the PC market do not support GPU NVIDIA Physx its unlikely for unity to integrate it. Im not saying it cant be done, the are on the way to integrate a version of Havok Physics via a package, so maybe there is a option.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bob_work · May 14, 2020 at 02:09 PM 0
Share

As I know, in China, Nvidia's graphic card over 80% market share! If Unity3D offical see this you really should think about my suggestion.

avatar image Bob_work · May 15, 2020 at 05:07 PM 0
Share

how to add new repply?

avatar image
0

Answer by Bob_work · May 13, 2020 at 02:48 PM

Thanks for ansower my question. Whatever PhysX or Havok, as long as it supports physical acceleration caculate on the GPU, that is ok! In my game, there may be thousands of rigid bodies colliding, even my 8 cores 16 threads CPU (Only 30+% CPU usage), only have 3~5 frames per second. So this situation is becoming more and more important.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

124 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can physx do hair physx like in the WWE 2010? 1 Answer

Dynamic animation and physics 0 Answers

Is there a Distance Constraint 3D or Distance Joint 3D in Unity? 2 Answers

Load thousands of static colliders, or have hundreds of thousands at once? 1 Answer

PhysX on ATI Cards 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges