Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solver is too performance heavy
#31
(17-06-2025, 07:53 AM)josemendez Wrote: Yes, triggers are also included in collision detection and ObiSolver.OnCollision will also report them. Contacts against triggers are simply ignored during collision response.


There can be many reason for a gap to appear. Most of them have to do with how and when you're moving the character in relation to the simulation. Chenji's advice regarding this matter is solid, make sure to double check these points specifically:
  • *You'd better use AddTorque (physics related) to rotate anything, instead of changing GameObject's transform(only affect visual), if you want the rope's behavior close to real world one. *Try to use Synchronous Fixed mode https://obi.virtualmethodstudio.com/manu...html*Check Interpolation of your Rigidbody. Make sure they are same with Obi Solver.*Check the Obi/rigidbody colliders of the conterpart of the problem. For example, if your problem is A and B has a gap, check whether A and B has collisions. Try disable their collision to see whether it works.

kind regards,

Let me be more specific, below I've attached screenshots how it should look and how it works in my demo scene with my player that using active ragdoll based on ConfigurableJoints(example of hierarchy in my answer above). The collider that should follow and be attached to rope is properly attached in test project but not in my main(visible gap on screenshot).

I have tried to change all parts of ObiSolver but it did not help, Solver in test project where all seems OK, same as in my main project, the same situation with rope, I've tried also change hierarchy of player and where GrabCollider is placed, so the problem somewhere else and I can not find it independently. The gap is visible every time player is attached to the rope, the reason why I've mentioned rotation is to be more specific about when the gap is more visible than by default. 

Hope this information will help to understand the situation, kind regards


Attached Files Thumbnail(s)
       
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 quent_1982 - 17-06-2025, 09:15 AM
RE: Solver is too performance heavy - by chenji - 20-06-2025, 07:56 AM