Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Line Renderer expensive when solver "idle"
#1
I'm no expert on how line renderers work, but do they have to be updated every frame even if the solver is not enabled? 

The reason I'm asking is my current scene has 8 (very low particle usage ~10-30 each) ropes which solvers I toggle on and off when I need to simualte the ropes in order to save performance.
I noticed the rope line renderer takes 25% of my CPU even when the rope is not simulating while the mesh extruder does not? 

Can I hack the ObiRopeLineRenderer.UpdateRenderer() method to only update when the rope's solver is enabled or will that have unforeseen consequences? 

Right now I'm in between having bad performance when ropes are idle (using line renderer) or bad performance when they are running (using extruder).
Reply


Messages In This Thread
Line Renderer expensive when solver "idle" - by TheMunk - 08-04-2020, 11:01 AM