![]() |
Bug / Crash Particle Attachment Break Didn't work in GPU Mode - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html) +--- Thread: Bug / Crash Particle Attachment Break Didn't work in GPU Mode (/thread-4409.html) |
Particle Attachment Break Didn't work in GPU Mode - calvantsang - 17-11-2024 Particle Attachment break threshold didn't work in GPU Mode, I have some test, turn out if only set the break threshold smaller that 0(like -1) will break immediately, even set to 0 I still can't brake in anyway. but work very well in Burst(Cpu), which is weird, my best guest is some pin Batch value didn't update in real time to check if need to break, hope it help somebody else facing same problem. Thanks for you guys always being amazing! RE: Particle Attachment Break Didn't work in GPU Mode - josemendez - 19-11-2024 (17-11-2024, 06:55 PM)calvantsang Wrote: Particle Attachment break threshold didn't work in GPU Mode, I have some test, turn out if only set the break threshold smaller that 0(like -1) will break immediately, even set to 0 I still can't brake in anyway. Hi, Thanks for reporting this! I could reproduce the issue. Will get back to you with a patch asap. kind regards, RE: Particle Attachment Break Didn't work in GPU Mode - josemendez - 21-11-2024 Hi, Fixed the issue. Attached you'll find the following 3 files: - Obi/Scripts/Common/Backends/Compute/Solver/ComputeSolverImpl.cs - Obi/Scripts/Common/Backends/Compute/Constraints/Pin/ComputePinConstraints.cs - Obi/Scripts/Common/Backends/Compute/Constraints/Pin/ComputePinConstraintsBatch.cs Replace the ones in your project with these, that should solve the problem. let me know if you need further help, kind regards |