How to build the Flex Branch?

Hi,

I am having a hard time getting Nvidia Flex to work. I cloned the Flex branch (https://github.com/NvPhysX/UnrealEngine/tree/FleX) to my harddrive and build the editor with VisualStudio. When I start the editor I can load the FlexProject, but when I hit the Play button all flex-objects are static and show no dynamic behavior. The demos from the FleX standalone sdk run flawlessly.

Windows 10
Geforce 780 GTX
Unreal Editor Version: 4.11.1

I redownloaded and rebuild the engine following this guide step by step, but I am still running into the same error :frowning:

Special instructions for FleX branch:

git clone https://github.com/NvPhysX/UnrealEngine.git

You should now be on the release branch. Run setup.bat. You can now run GenerateProjectFiles.bat, build UE4, run it, etc.

git branch –t FleX origin/FleX

git checkout FleX

GenerateProjectFiles.bat

Open .sln, build UE4.

Run UE4 Editor, open the FleX test project.

I solved it finally!! …after 3 days of trial and error…

You have to set the PhysX processor to your GPU under the 3D-settings in your graphics driver! Mine was set to auto, which seemed to work fine with the demos but didn’t with the editor.

Hi. What exactly does building unreal engine with visual studio mean?
I have unreal engine 4.15 on my system. if i clone the branch from github and generate project files, can i just open it using my unreal engine?

I solved it finally!! …after 3 days of trial and error…

…you solved what? And how?