Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple obi solvers
#4
(17-01-2022, 03:21 PM)lufydad Wrote: [*]When my 4 gameobjects with ropes are instantiate, I have a performance hit, due to obi fixed update (see capture https://imgur.com/a/0V04YNb). Have you an idea of where it comes from ? And how could I reduce it ?

Never seen something similar, tbh. The cost of a FixedUpdate call is independent of where in the frame it happens. Could you get deeper into the calls tack and see where is this coming from?

(17-01-2022, 03:21 PM)lufydad Wrote: [*]Globally with 12 ropes of a few meters (approximately 1500 particles in total), 2 iterations for bending and distance, The performances are "only" near 30 fps. Is it normal ? (Unity 2021.2.4, CPU : AMD Ryzen 7 4800h, GPU : Nvidia RTX 2060, RAM : 8 GO)
[/list]

Profile to see whether the culprit is simulation (very unlikely) or mesh generation/rendering, which happens during solver.Interpolate(). If that's the issue, using simpler rendering method and/or making use of aggressive mesh decimation will help. Decimation can be enabled in the ObiPathSmoother component.
Reply


Messages In This Thread
Multiple obi solvers - by lufydad - 17-01-2022, 10:42 AM
RE: Multiple obi solvers - by josemendez - 17-01-2022, 11:01 AM
RE: Multiple obi solvers - by lufydad - 17-01-2022, 03:21 PM
RE: Multiple obi solvers - by josemendez - 17-01-2022, 08:14 PM
RE: Multiple obi solvers - by lufydad - 19-01-2022, 05:18 PM
RE: Multiple obi solvers - by josemendez - 20-01-2022, 11:00 AM
RE: Multiple obi solvers - by lufydad - 21-01-2022, 03:50 PM
RE: Multiple obi solvers - by josemendez - 21-01-2022, 03:57 PM
RE: Multiple obi solvers - by lufydad - 21-01-2022, 04:39 PM
RE: Multiple obi solvers - by josemendez - 21-01-2022, 06:12 PM
RE: Multiple obi solvers - by lufydad - 24-01-2022, 02:10 PM
RE: Multiple obi solvers - by josemendez - 24-01-2022, 03:05 PM
RE: Multiple obi solvers - by lufydad - 24-01-2022, 04:10 PM
RE: Multiple obi solvers - by josemendez - 25-01-2022, 09:32 AM