Upgrade to PhysX 5.1.3

This commit is contained in:
Wojtek Figat
2023-03-03 17:13:46 +01:00
parent 0112f70c05
commit a26d0d03eb
452 changed files with 58188 additions and 8646 deletions

View File

@@ -6,7 +6,7 @@ using Flax.Build;
using Flax.Build.NativeCpp;
/// <summary>
/// https://github.com/NVIDIAGameWorks/PhysX
/// https://github.com/NVIDIA-Omniverse/PhysX
/// </summary>
public class PhysX : DepsModule
{
@@ -27,7 +27,7 @@ public class PhysX : DepsModule
{
base.Setup(options);
// PhysX 4 configuration:
// PhysX configuration:
// PX_BUILDSNIPPETS = False
// PX_BUILDSAMPLES = False
// PX_BUILDPUBLICSAMPLES = False
@@ -59,14 +59,18 @@ public class PhysX : DepsModule
case TargetPlatform.XboxOne:
case TargetPlatform.XboxScarlett:
case TargetPlatform.Mac:
case TargetPlatform.Android:
switch (options.Architecture)
{
case TargetArchitecture.x86:
case TargetArchitecture.ARM:
archPostFix = "_32";
break;
case TargetArchitecture.x64:
case TargetArchitecture.ARM64:
archPostFix = "_64";
break;
default: throw new InvalidArchitectureException(options.Architecture);
}
break;
}