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
    Small test.

    Leave a comment:


  • replied
    GamesByH Same issue here, I hope someone can address this since I am not able to test Chaos properly.

    This is what I did:

    - Compiled UE4.23.1 from source without any problem
    - Opened a Blueprint project that I created with UE4.23.0 "Launcher Edition" creating a copy
    - Imported a static mesh from Blender
    - Created a Geometry Collection and left all default settings
    - Fractured the static mesh

    So far so good

    - Started the simulation

    The static mesh completely ignores the plane I use as floor, it falls right through it and then it fractures once it touches the world floor (where the grid is).
    Any of the steps I did sound familiar to you? Maybe we are doing something wrong, I thought it was because I opened a project created with a previous version of the engine, I'm going to test this asap.

    I tried messing around with the Geometry Collection settings, with the detail panel's settings, with the Chaos solver settings, no luck.

    * UPDATE *

    Even creating a brand new project doesn't seem to fix the issue, still no collision between Geometry Collections and other static meshes or physical assets.
    Any advice and help will be greatly appreciated, have a lovely day!
    Last edited by DxDen1004; 09-12-2019, 01:10 AM.

    Leave a comment:


  • replied
    https://thumbs.gfycat.com/RecentAridBobcat-mobile.mp4
    Originally posted by GamesByH View Post
    Does anyone else still not have collision between geometry collections and normal physical objects? I'm making a ball drop through a fractured mesh I made and it just phases right through.
    I am having this issue as well.
    https://media.giphy.com/media/fwKEtv...VGTr/giphy.gif

    Leave a comment:


  • replied
    Does anyone else still not have collision between geometry collections and normal physical objects? I'm making a ball drop through a fractured mesh I made and it just phases right through.

    Leave a comment:


  • replied
    Anyone tried geometry collections on Oculus Quest, or any android devices? It crashes after running, with error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:C:/UnrealEngine-4.23/Engine/Source/Runtime/Core/Public\Containers/Array.h] [Line: 614]

    Leave a comment:


  • replied
    Is there anyway to create a project using 4.23 compiled in another directory that is not in the directory where the editor.exe is?
    I am also creating 05 using simple floor. Put the same column, anchor, and player. When I start the level the column falls and fractures. What am I missing. Thanks.
    Last edited by theProfessor; 09-09-2019, 04:40 PM.

    Leave a comment:


  • replied
    Literally Anyone trying to build this with a fresh install of visual studio 2019 is going to get some build errors. Tried it twice on 2 different computers with fresh installs. Turns out the latest version of Visual Studios 2019 Has some Directory errors and will not work. This has nothing to do with the Unreal Team but as it stands the instructions will not work for anyone downloading a fresh install of Visual Studios 2019 just to test Chaos out.

    The only work around is to

    1:go to the visual studios installer hit modify and install .Net Framework 4.6.2 Target and .Net Framework 4.6.2 SDK into your Visual studios 2019 build.

    2: follow everything in the original install tutorial post but do hit build yet

    3: while in visual studio 2019 select UE4 in the solutions explorer so that it is highlighted

    4:go to project and open settings

    5: Paste C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.2\Include\um into Include Directories and hit Apply

    6: now you can build UE4




    If your Build is giving errors like "Cannot open include file: 'metahost.h': No such file or directory" This will solve your problem.

    Leave a comment:


  • replied
    Some more info on Linetraces (based on observation, may not be accurate), looks like only static chaos geometry can be hit by a linetrace?
    eg. Appears destroyed chunks are not hit.

    [Update] This is not entirely correct - I have levels where the linetraces do hit fractured chaos geometry. Same assets in same project in other level dont - so still researching.

    [Last Update] So all newly created maps after adding bCustomSceneQueryStructure = true appear to work. The only map this happens on was created before the engine recompile. Assuming something stored with that map and moving on.

    In summary, linetraces DO hit static and dynamic geometry.

    Only leaving this here instead of deleting in case someone else stumbles into the same issue.
    Last edited by OptimisticMonkey; 09-09-2019, 10:53 AM.

    Leave a comment:


  • replied
    Originally posted by OptimisticMonkey View Post
    Has anyone got Linetraces to work with chaos? The demo from the launcher uses linetraces and they work fine (gameplay examples map).... but on a new project they dont seem to collide with choas stuff :-(

    [UPDATE]
    Of - Thanks to dantreble on the UE Discord

    In order to use linetraces you must build the engine with:


    bCustomSceneQueryStructure = true;

    (In addition to bCompileChaos = true; )
    If anyone was wondering why their previously compiled engine was re-compiling when compiling the ChaosDemo project, this is the reason why.

    VictorLerp might be a good idea to add this to the setup steps.

    Leave a comment:


  • replied
    when will this be integrated into unreal. 4.23 has been released and its still not.

    Leave a comment:


  • replied
    I downloaded version 4.23 from Github, put the ChaosDestructionDemo from both the fault and from a created project saved in my desktop into both the folder I unzipped the Github file into and the Github folder itself. Each time I try and varience of the above and run GenerateProjectFiles.bat I get this error:
    GenerateProjectFiles ERROR: It looks like you're missing some files that are required in order to generate projects. Please check that you've downloaded and unpacked the engine source code, binaries, content and third-party dependencies before running this script.

    Leave a comment:


  • replied
    Has anyone got Linetraces to work with chaos? The demo from the launcher uses linetraces and they work fine (gameplay examples map).... but on a new project they dont seem to collide with choas stuff :-(

    [UPDATE]
    Of - Thanks to dantreble on the UE Discord

    In order to use linetraces you must build the engine with:


    bCustomSceneQueryStructure = true;

    (In addition to bCompileChaos = true; )
    Last edited by OptimisticMonkey; 09-08-2019, 11:03 PM.

    Leave a comment:


  • replied
    Originally posted by BryanBishop View Post
    After copying the ChaosDestructionDemo folder to my project directory and building the demo I am getting the following error when trying to load the map:




    I have a latest fetch from the repository and have successfully built the editor previously (and the editor still loads fine). Anyone have any ideas about where I went wrong?
    Do not use the latest fetch from the repository. Fetching will probably work fine at the day of the release, but probably not later. Click on the releases link and there you will see every single individual release, including hotfixes (https://github.com/EpicGames/UnrealEngine/releases) and there you choose the release and choose the source code (zip) link to download.

    Leave a comment:


  • replied
    After copying the ChaosDestructionDemo folder to my project directory and building the demo I am getting the following error when trying to load the map:

    Failed to open map file. This is most likely because the map was saved with a newer version of the engine.

    I have a latest fetch from the repository and have successfully built the editor previously (and the editor still loads fine). Anyone have any ideas about where I went wrong?
    Last edited by BryanBishop; 09-08-2019, 03:07 PM.

    Leave a comment:


  • replied
    Originally posted by VictorLerp View Post
    Follow these steps to enable Chaos in 4.23 (new documentation)

    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 4.23 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!
    i get a 404 error everytime i try to get source files

    Leave a comment:

Working...
X