Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solver is too performance heavy
#40
(20-06-2025, 07:25 AM)quent_1982 Wrote: Hello, I have received fixed project. I’ve tested it, but it doesn’t seem to work properly under high forces, even without torque. Could you share a quick summary of what you did to fix the gap issue? It’s possible I missed something during implementation or the setup didn’t install correctly.

Best regards
If it does not work only under large force, it usually means the solver (Obi's and/or Unity's) cannot handle large acceleration properly. The solution is:

1. Increase Obi solver's substep and/or decrease Unity's fixed timestep
2. Instead of do #1, probably a much easier solution, increase your object's mass where the force applies on. Or manually clamp the velocity to a low value.
3. If there is still a visual gap, you can do what I mentioned in my previous posts, hook an event handler of Obi Solver and manually align the position as a last resort. If you're using attachment, in 7.1 you can use projection=true to let Obi do this automatically.
Reply


Messages In This Thread
Solver is too performance heavy - by quent_1982 - 27-05-2025, 03:53 PM
RE: Solver is too performance heavy - by chenji - 16-06-2025, 07:30 AM
RE: Solver is too performance heavy - by chenji - 16-06-2025, 01:40 PM
RE: Solver is too performance heavy - by chenji - 17-06-2025, 07:10 AM
RE: Solver is too performance heavy - by chenji - 20-06-2025, 07:56 AM