Announcement

Collapse
No announcement yet.

How to enable Chaos

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by VictorLerp View Post
    Follow these steps to enable Chaos in 4.23 Preview:

    1. Download 4.23 Preview from Github (source build is required, and we recommend you grab the latest preview version)
    2. Add the following in the UE4Editor.Target.cs file:
    Code:
    bCompileChaos = true;
    BuildEnvironment = TargetBuildEnvironment.Unique;
    3. Make sure the following plugins are enabled:

    ChaosEditor
    Planar Cut
    Editable Mesh
    Geometry

    4. Build!

    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 lines under step 2 to your project's Target.cs file and create a C++ project (it won't work with a Blueprint project).

    Feel free to use this thread for discussions related to Chaos. We appreciate your feedback!

    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?

    Click image for larger version

Name:	20190714_14h42_01.png
Views:	21343
Size:	145.4 KB
ID:	1642134 ​​​​​​​

    Leave a comment:


  • replied
    VictorLerp 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?

    Leave a comment:


  • replied
    I've tried to generate Geometry Collection asset but immediately editor crashed.
    Here is UE4Editor.Target.cs code I've changed.
    Code:
    using UnrealBuildTool;
    using System.Collections.Generic;
    
    public class UE4EditorTarget : TargetRules
    {
        public UE4EditorTarget( TargetInfo Target ) : base(Target)
        {
            Type = TargetType.Editor;
            bCompileChaos = true;
            BuildEnvironment = TargetBuildEnvironment.Unique;
            ExtraModuleNames.Add("UE4Game");
        }
    }
    }
    Last edited by tekktekk128; 07-13-2019, 09:02 AM.

    Leave a comment:


  • replied
    Originally posted by pstarace View Post

    Not having any luck adding this. Would you be able to post what your UE4Editor.Target.cs file looks like?

    Thank you,

    PatS
    Originally posted by VictorLerp View Post
    Follow these steps to enable Chaos in 4.23 Preview:

    1. Download 4.23 Preview from Github (source build is required, and we recommend you grab the latest preview version)
    2. Add the following in the UE4Editor.Target.cs file:
    Code:
    bCompileChaos = true;
    BuildEnvironment = TargetBuildEnvironment.Unique;
    3. Make sure the following plugins are enabled:

    ChaosEditor
    Planar Cut
    Editable Mesh
    Geometry

    4. Build!

    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 lines under step 2 to your project's Target.cs file and create a C++ project (it won't work with a Blueprint project).

    Feel free to use this thread for discussions related to Chaos. We appreciate your feedback!
    same for me.

    Leave a comment:


  • replied
    Originally posted by VictorLerp View Post

    Code:
    bCompileChaos = true;
    BuildEnvironment = TargetBuildEnvironment.Unique;
    Not having any luck adding this. Would you be able to post what your UE4Editor.Target.cs file looks like?

    Thank you,

    PatS

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    Is it just me, or fractured geometry collection objects are not getting simulated? They just hang on air...

    Leave a comment:


  • replied
    Originally posted by VictorLerp View Post
    Follow these steps to enable Chaos in 4.23 Preview:

    3. Make sure the following plugins are enabled:
    ChaosEditor
    Planar Cut
    Editable Mesh
    Geometry
    ohhh those look fun, I can't wait to try it out!

    Leave a comment:


  • replied
    Originally posted by VictorLerp View Post
    Follow these steps to enable Chaos in 4.23 Preview:

    1. Download 4.23 Preview from Github (source build is required, and we recommend you grab the latest preview version)
    2. Add the following in the UE4Editor.Target.cs file:
    Code:
    bCompileChaos = true;
    BuildEnvironment = TargetBuildEnvironment.Unique;
    3. Make sure the following plugins are enabled:

    ChaosEditor
    Planar Cut
    Editable Mesh
    Geometry

    4. Build!

    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 lines under step 2 to your project's Target.cs file and create a C++ project (it won't work with a Blueprint project).

    Feel free to use this thread for discussions related to Chaos. We appreciate your feedback!
    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.

    Leave a comment:


  • replied
    Originally posted by VictorLerp View Post
    (it won't work with a Blueprint project).
    Will it work with blueprint only projects at the final release ?

    Leave a comment:


  • started a topic How to enable Chaos

    How to enable Chaos

    Update: 4.26-Chaos Preview build in Epic Games launcher enables Chaos by default - details here

    Follow these steps to enable Chaos (engine source documentation)

    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:

    1. Download the Chaos Destruction Demo from the Learn tab on the Epic Games Launcher.

    2. Download Unreal Engine from Github (source build is required until Chaos is out of Beta).

    3. 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.

    4. Run GenerateProjectFiles.bat.

    5. Open the created UE4.sln.

    6. 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.

    7. 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).

    8. If you do have the launcher installed you should be able to open it by double-clicking the uproject.

    Break all the things!

    RESOURCES:

    Chaos Documentation





    Feel free to use this thread for discussions related to Chaos. We appreciate your feedback!
    Last edited by VictorLerp; 02-15-2021, 02:31 PM.
Working...
X