Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi fluid collision
#10
(10-03-2021, 07:55 PM)JskT01 Wrote: There are 1500 particles in total for the fluid, plus I use obi rope in addition to obi fluid

Hi there,

Are ropes and fluid in the same solver? the solver component should show statistics for total amount of particles and contacts in an info box at the top of the inspector.

Depending on how many particles are in contact with colliders, there can be several thousand contacts since there's typically more than one contact per particle, when the fluid is at rest. Iterating trough all of them in the main thread every frame can have an impact on performance.

If this is the case, I'd recommend:

- Iterating trough the contacts in parallel.
- Spread iteration over multiple frames, so that not every contact is checked every frame. You can instead iterate trough a fixed number of contacts per frame, until you have checked all of them, then update the contact list.
Reply


Messages In This Thread
Obi fluid collision - by JskT01 - 06-03-2021, 02:51 AM
RE: Obi fluid collision - by josemendez - 06-03-2021, 09:41 AM
RE: Obi fluid collision - by JskT01 - 06-03-2021, 09:51 PM
RE: Obi fluid collision - by josemendez - 08-03-2021, 08:24 AM
RE: Obi fluid collision - by JskT01 - 08-03-2021, 07:05 PM
RE: Obi fluid collision - by josemendez - 09-03-2021, 11:27 AM
RE: Obi fluid collision - by JskT01 - 09-03-2021, 09:53 PM
RE: Obi fluid collision - by josemendez - 10-03-2021, 09:05 AM
RE: Obi fluid collision - by JskT01 - 10-03-2021, 07:55 PM
RE: Obi fluid collision - by josemendez - 11-03-2021, 09:02 AM