Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tips for making fluid
#4
(11-10-2021, 12:14 PM)netjeenpetje Wrote: Thank you!

I completely missed that part and it looks more fluid-like now.

Is there a thread somewhere for performance tweaking?

Regards

Hi,

There's many different settings that affect performance, and they can have a different impact depending on your scene/game. The only ones that are a simple performance vs quality choice are iterations and substeps, there's an entire page in the manual dedicated to how the simulation works and how these affect it:
http://obi.virtualmethodstudio.com/manua...gence.html

Some fluid parameters can also have a large impact on performance. Most notably, resolution (as more resolution means more particles) and smoothing radius. See:
http://obi.virtualmethodstudio.com/manua...rials.html

Aside from those, the usual physics performance tips apply: use a larger timestep value whenever possible, use simpler colliders, if using Burst in-editor disable jobs debugger, etc.

To aid you in performance tuning, use Unity's profiler. This will tell you what's taking up most time, otherwise you'll be basically turning knobs at random.

kind regards
Reply


Messages In This Thread
Tips for making fluid - by netjeenpetje - 09-10-2021, 02:54 PM
RE: Tips for making fluid - by josemendez - 10-10-2021, 11:16 AM
RE: Tips for making fluid - by netjeenpetje - 11-10-2021, 12:14 PM
RE: Tips for making fluid - by josemendez - 11-10-2021, 01:38 PM