16-07-2024, 09:31 AM
(This post was last modified: 16-07-2024, 09:31 AM by josemendez.)
(16-07-2024, 08:24 AM)wenhao_zheng Wrote: Hi!
Under your guidance, I was able to clamp the soft body with the rigid body. This effect is very good and meets our needs.
In our further requirements, we hope to use ArticulationBody to replace Rigidbody. In fact, ArticulationBody does not seem to be compatible with Obi.
Hi!
Correct, Obi only implements rigidbodies but not articulation bodies.
(16-07-2024, 08:24 AM)wenhao_zheng Wrote: I would like to ask if there is a way to convert the collision impulse into a reaction force.[/b]
Simply divide by time squared. In Obi's case, "time" is the duration of a substep. Sample pseudocode, assuming you're using ObiFixedUpdater:
Code:
force = lambdaImpulse / (Mathf.Pow(Time.fixedDeltaTime / ObiFixedUpdater.substeps, 2));
kind regards,