4.24 NOTE: **You have to add both of these lines to your UE4Editor.Target.cs file:
bCompileChaos = true;
bUseChaos = true;
**NOTE: **This will enable Chaos for all of your Blueprint and C++ projects. If you’d like to enable Chaos per project, you will have to add the new target lines to your project’s Target.cs file and create a C++ project (it won’t work with a Blueprint project).
Follow these steps to open the Chaos Destruction Demo:
Download the Chaos Destruction Demo from the Learn tab on the Epic Games Launcher.
Download Unreal Engine from Github (source build is required until Chaos is out of Beta).
After you setup your GitHub build (you don’t need to compile it), move the ChaosDestructionDemo folder into the same folder that you unzipped the GitHub build to.
Run GenerateProjectFiles.bat.
Open the created UE4.sln.
Build the ChaosDestructionDemo for Development Editor (should be the default Visual Studio configuration). This will build the whole engine, with Chaos, since it’s already setup in the project’s Target file.
**NOTE: **If you want to create your own project, you will have to follow the steps outlined in the “Follow these steps to enable Chaos in 4.23” section.
Once it’s done, you can launch the sample from Visual Studio with F5 (or Ctrl+F5, which will launch without debugging attached).
NOTE:If you don’t have the Epic Games launcher installed, this will be the only way you can launch it. Double-clicking the ChaosDestructionDemo.uproject will not work (you’ll get an error message).
If you do have the launcher installed you should be able to open it by double-clicking the uproject.
In Step 3, I can’t find a plugin called Editable Mesh or Geometry. For ChaosEditor and PlanarCut, everything seems to already be set to true… except for “Installed,” which is set to false.
Will this change anything regarding PhysX as we are actually turning on Chaos? or just using it as a plugin for fracture and threaded destruction at present.
do the three plugins, that you have listed as requirement (Planar Cut, Editable Mesh and Geometry), have anything to do with the new advanced programmatic mesh features that we can see on trello?
I built you with Chaos enabled as described, but it crashes when I start the engine.
It looks like the shaders are not loaded, but do you need anything else?
> I built you with Chaos enabled as described, but it crashes when I start the engine.
> It looks like the shaders are not loaded, but do you need anything else?
This issue will be raised by loading WindowsMixedRealityPlugin at PostEngineInit phase. Normally it will be loaded at PostConfigInit.
You can set EnableByDefault true in WindowsMixedRealityPlugin.uplugin to fix it temporarily.
I am trying to use Chaos witn 4.23.1. Installed from the launcher. Will Chaos work with the 4.23.1 from the launcher? When I create geometry collection and then click on it Unreal crashes.
It won’t work from the version at launcher. You need to build the engine by source as the steps on the 1st post, and if you are not familiar with source build I recommend for you to wait when 4.23 releases.
With the page from GitHub opened with Unreal Engine 4 repository, you need to select in the combobox called “branch” the value: 4.23 at the dropdown list. Once you select that you can clone or download as zip file and follow the build process described in the front page of the repository. Minimum Visual Studio release supported is the VS 2017, it is not necessary build with VS 2019.
This worked for me! Well, kind of. So everything is loaded, Chaos Solver is in the scene by default, I can create geometry collections, I can fracture, etc. etc. BUT… the geometry collections just seem to be stuck in space… they have no collision, no gravity, no mass. Also, in the video by @ at GDC, there seemed to be a slider in the fracture menu that let you preview pulling the fracture apart… as far as I can tell that’s not in the preview.
Anyone know how to get Chaos Destruction working?? I’d be perfectly happy to start by just seeing a cube fall from the sky and break apart when it hits the ground.
I have the first person project started and while i was able to fracture the objects, I haven’t been able to interact with them, via shooting. What else do we need for this workflow?
Oh yes, it works for me now. Managed to convert static meshes into fractured geometry. The mystery now is how to properly set up collision and trigger destruction?