Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Correct way to update mesh colliders for Obi Fluids
#6
(21-08-2026, 11:38 PM)josemendez Wrote: Hi!

Not entirely sure if this is one MeshCollider and you’re modifying its mesh data like the thread author did (hence the UpdateMeshData call, which triggers a costly recalculation of all mesh vertices/triangles), if they are completely distinct colliders that you’re swapping, or some combination of both.

Could you send a repro project to support(at) virtualmethodstudio.com so we can take a closer look? Thanks!
Hey!

In the video I provided, I am just toggling on and off the gameobjects with their own Obi colliders (I added the explicit disabling and enabling of the component, to try to fix the issue that I encountered, but it didn't help).

But I also have one mode, where a collider is continuously being updated (not shown in the video, it was the VTS-Outline mode that wasn't shown). Both the swapping of gameobjects AND the updating of mesh data don't work in compute mode and work when using Burst, which leads to me to believe there is an issue with sending the collider data to the shader? Although this is just my assumption from a outside point of view (no idea how obi works internally obviously).

I will create a repro project, once I can find the time to help with fixing this issue ASAP!
Reply


Messages In This Thread
RE: Correct way to update mesh colliders for Obi Fluids - by Remasuri3 - 23-08-2026, 09:43 PM