Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question About Collision Impulse
#2
(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.  Sonrojado

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,
Reply


Messages In This Thread
RE: Question About Collision Impulse - by josemendez - 16-07-2024, 09:31 AM