Hi im pretty new to animation and stuff. But is it possible to make an physic simulation in realflow and turn it into an animation, then putting it into ue4?
It should be possible right? But i dont see any tutorial on putting it into games.
The game dosent have the do the physics simulation only play the water animation
The particles in UE4 are not anything like the particles in Realflow, and even then there’s currently no way to import particle simulations into UE4. You would have to specifically build something new into the engine to be able to work with Realflow. In any case, there’s stuff like the Nvidia liquid simulation that could be integrated with UE4 much more easily and is actually designed to run in real-time.
None of those games use Realflow—in those cases Realflow was used for pre-rendered trailers, not in the games themselves.
Simulation like that takes a lot of processing power, so it has to be optimized for games, if you want something as close as you can get to it, then look into Nvidia GameWorks.
Kite and Lightning are working on an Alembic importer for UE4. If you can mesh your fluid simulation in Realflow, and export out an Alembic sequence - then in theory (if or when K&L make their ABC plugin available, or you make your own) you can read the cache back into Unreal. I can’t imagine the performance will be great though, since a decent fluid sim has a ridiculously high polycount. High polycount on its own isn’t a particularly huge issue, but reading millions of vertices from a HDD cache in anything resembling realtime sounds like a ball-ache to me.