Obi Official Forum
Blueprint bug for softbody and 2d - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html)
+--- Thread: Blueprint bug for softbody and 2d (/thread-3918.html)



Blueprint bug for softbody and 2d - lethemre - 21-06-2023

I have blueprint bug on my game. I'm using 2d meshes for blueprint and some of them particles are half on the front side and half on the back side.
https://ibb.co/VBM5VsS

https://ibb.co/yd2ZgWm


RE: Blueprint bug for softbody and 2d - josemendez - 21-06-2023

(21-06-2023, 10:26 AM)lethemre Wrote: I have blueprint bug on my game. I'm using 2d meshes for blueprint and some of them particles are half on the front side and half on the back side.
https://ibb.co/VBM5VsS

https://ibb.co/yd2ZgWm

Hi,

That cannot be prevented, since particles orient themselves based on the gradient of the mesh's distance field. In 2D, there's no gradient in the Z direction so particles will arbitrarily orient themselves to the front or back of the mesh.

This should however not affect the simulation, since only orientation deltas are used and the absolute orientation of the particles doesn't matter.

Let me know if due to your use case this prevents your goal or is undesirable for some other reason.

kind regards,