Chaos destruction without animation?

Is it possible to implement chaos destruction without the animation? Basically I’d need to go from the initial object state to the destroyed object state as fast as possible without animating, driven by code (Blueprint or C++).
In other words I think it may boil down to having the solver not running on tick, but isolated into a thread.

Update: looking at the documentation I think there may be a way using Geometry Collection Caching.

Hi

You can use the experimental cache feature effectively
This can be done this way:
In the editor

  • Select the geometry collection you want to cache

  • First you need to add a ChaosCacheManager using the Menu Actor > Chaos > Create Cache Manager

  • Enter a name for the cache asset

  • select the cache in your scene and check that the cache mode is “Record
    image

  • Play and stop your scene ( You can do that multiple times until you are happy with the results )

  • Set the cache mode to “Static Pose
    image

  • Now you can use “Start Time” ( set it or scrub it by holding and moving your mouse )

You should see your geometry collection playing the recorded cache

If you want to control the start time, you can set it in a sequencer
like this :

Hope this helps

2 Likes

Thank you! I guess I should be able to edit the sequence to keep only the beginning and end and drive its display by code then.