Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  High variance in ObiFixedUpdate performance impact
#15
(27-04-2020, 12:23 PM)TheMunk Wrote: Can you please confirm there is no build-in way (other than disabling the solver) to disable simulation/generation of mesh of a single rope without also disabling rendering?

Hi,

- Disabling the rope component disables simulation for that specific rope, but still renders it.
- Disabling the rope renderer component disables rendering for that specific rope, but still simulates it.

Disabling the entire rope object disables both, of course.

So you can disable simulation by simply disabling the rope component. However, mesh generation/rendering is oftentimes much more expensive than simulation.

There's no way to disable mesh generation without also disabling rendering, as you can't render a mesh that does not exist.

Try using 5.3's rope decimation (http://blog.virtualmethodstudio.com/2020...ecimation/). This will adaptively reduce rope mesh resolution where possible, reducing rendering overhead. I'm attaching a updated ObiPathSmoother.cs component in case you're using 5.1 or 5.2, simply replace yours with this one and experiment with the decimation slider, it might be beneficial in your case.


Attached Files
.cs   ObiPathSmoother.cs (Size: 14.04 KB / Downloads: 0)
Reply


Messages In This Thread
RE: High variance in ObiFixedUpdate performance impact - by josemendez - 27-04-2020, 01:18 PM