I have a module that makes use of
UPhysicsConstraintComponent and currently using substepping method. I just want to experiment on PhysX4.1 to see its result as being compared with current PhysX3.4 being built inside UE4.21.
(1) I followed the guide on
[branch 4.1] and could build libraries for Linux, however there was a segmentation fault as loading
I suppose it should be built in another way using UE Toolchain instead with specific flags being passed to CMAKE, basically similar to how PhysX3/APEX is built as far as I know:
(2) Besides, I also have to disable APEX to make our sourcecodes works.
bCompileAPEX = false; inside:
Engine/Source/Programs/UnrealBuildTool/Platform/Linux/UEBuildLinux.cs (ValidateTarget() function)
However, they seem to be not enough.
I hope you could enlighten me with some advices, which would be much appreciated!