Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  ObiAttachment issue
#2
(17-08-2025, 07:10 PM)quent_1982 Wrote: Hello!

I've sent the test project to theĀ support(at)virtualmethodstudio.com.

The project has player, and platforms attached to the rope. When the player jumps on any of them, the platforms fall down a bit and than come back to default position very sharply.
The one fix for this that I've found is use many character joints attached to each of the platforms but it is quite messy and I'm sure the solutionĀ is much simpler and all Obi-based.

P.S. Please do not answer to the email, thanks.

Kind regards,

Hi,

Obi and Unity's built-in rigidbody physics are separate physics engines, and are updated separately. This means there's always at least 1 simulation step of latency between force exchanges between them. They're also updated at different frequencies, Obi's update frequency being Unity's fixed timestep / ObiSolver's substeps.

You're currently updating Unity's physics with a timestep of 0.015 seconds, and Obi is being updated at 0.015/4 = 0.00375. As a result, any forces calculated by the rope will take 4 full Obi physics updates before they're applied on the rigidbody planks. This makes them react late to them.

To bring this down to 1 simulation step (the minimum), set your project's fixed timestep to 0.00375 and your ObiSolver's amount of substeps to 1. Both engines will update at the same frequency, so at most one simulation step will pass between the character pushing down a plank and the rope applying a force to counteract this.

kind regards,
Reply


Messages In This Thread
ObiAttachment issue - by quent_1982 - 17-08-2025, 07:10 PM
RE: ObiAttachment issue - by josemendez - 18-08-2025, 08:20 AM
RE: ObiAttachment issue - by quent_1982 - 18-08-2025, 08:34 AM
RE: ObiAttachment issue - by josemendez - 18-08-2025, 08:47 AM
RE: ObiAttachment issue - by quent_1982 - 18-08-2025, 08:55 AM
RE: ObiAttachment issue - by chenji - 18-08-2025, 09:14 AM