25-02-2021, 09:48 AM
Bug / Crash Sticky collision material is broken?
|
25-02-2021, 09:55 AM
(This post was last modified: 25-02-2021, 09:56 AM by josemendez.)
(25-02-2021, 09:48 AM)asimofu_ok Wrote: Hi. The viscosity scene uses a sticky material by default, but I can't reproduce this in either Unity version (testing right now). Only way I can get it to behave similar to this is using huge values for the stickiness parameter (> 10), which is expected to cause problems, since the sticky impulse becomes much larger than the depenetration impulse. Having a very large stick distance will also cause weird behavior (and have a very negative impact on performance, as particles now need to check object proximity inside a very large radius). What are your collision material parameters?
25-02-2021, 10:40 AM
(25-02-2021, 09:55 AM)josemendez Wrote: The viscosity scene uses a sticky material by default, but I can't reproduce this in either Unity version (testing right now). I'm using the Obi Fluid sample imported into the newly created project as it is.
25-02-2021, 10:42 AM
(This post was last modified: 25-02-2021, 10:44 AM by josemendez.)
25-02-2021, 10:46 AM
25-02-2021, 10:57 AM
25-02-2021, 11:01 AM
25-02-2021, 11:05 AM
(This post was last modified: 25-02-2021, 11:06 AM by josemendez.)
FYI: this only affects the Oni backend.
Switching to the default backend (Burst) results in correct behavior. While I get this fixed, you can use Burst. Install the Burst dependencies if you haven't installed them yet, see: http://obi.virtualmethodstudio.com/tutor...kends.html
25-02-2021, 11:11 AM
(This post was last modified: 25-02-2021, 11:22 AM by josemendez.)
Found and fixed the bug. In was simply a wrong sign (+ instead of -), coupled with a mistake in the unit test that tested it.
The fix will be included in the next update, let me know if you need a patch and I'll recompile the engine library for you. kind regards,
25-02-2021, 11:38 AM
(25-02-2021, 11:11 AM)josemendez Wrote: Found and fixed the bug. In was simply a wrong sign (+ instead of -), coupled with a mistake in the unit test that tested it. Then, could you give me a patch? This issue of Obi is a bit important in my current project. (And I'm sorry, I want to avoid using Burst for the time being...) Thank you. |
« Next Oldest | Next Newest »
|