How does Unity3D use PhysX without requiring the PhysX runtime?

偶尔善良 提交于 2019-12-08 03:08:20

问题


When I looked at using PhysX, one had to install a runtime a bit like installing .NET. However I note Unity3D employs PhysX and Unity3D plugin installation is fairly simple and doesn't appear to add 3rd-party components. How is this possible?


回答1:


As a partner, they presumably would have access to special builds or even source code for PhysX, allowing Unity to link in or bundle with PhysX directly. Just because a core technology is distributed one way (say the end-user run-time or nVidia drivers), doesn't mean that that's the only way.

Also keep in mind, PhysX doesn't require hardware acceleration and can act as a software physics engine by itself.




回答2:


As of phyx 3.x it's not necessary to install drivers,
http://physxinfo.com/wiki/PhysX_SDK_3.x I think they might have restructured how they look for dlls to not require that they get dropped into the windows directory.



来源:https://stackoverflow.com/questions/7097747/how-does-unity3d-use-physx-without-requiring-the-physx-runtime

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!