Obi Official Forum

Full Version: Possible to bake cloth simulations?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to bake cloth simulations using Obi cloth? Since I intend to use very high poly cloth, which are not runtime friendly, i'd like to bake out the simulations for offline usage
(09-02-2022, 07:34 PM)yokenstein Wrote: [ -> ]Is it possible to bake cloth simulations using Obi cloth? Since I intend to use very high poly cloth, which are not runtime friendly, i'd like to bake out the simulations for offline usage

Hi there!

Why not use Alembic? Obi is intended for realtime simulation and cuts some corners to achieve that. If you just want to play back a pre-baked simulation, you can simulate in any offline, higher-quality simulator and then import the results as an alembic file into Unity.

https://docs.unity3d.com/Packages/com.un...index.html

kind regards,
(10-02-2022, 08:34 AM)josemendez Wrote: [ -> ]Hi there!

Why not use Alembic? Obi is intended for realtime simulation and cuts some corners to achieve that. If you just want to play back a pre-baked simulation, you can simulate in any offline, higher-quality simulator and then import the results as an alembic file into Unity.

https://docs.unity3d.com/Packages/com.un...index.html

kind regards,
That's a good option, but I have quite a lot of blended animations in the character's timeline track. And as far as my experiments go, it's not possible to bake out those blended animations. Otherwise i'd definitely try this option