Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Getting forces on Obi colliders
#2
(07-08-2020, 11:57 AM)Oybsan Wrote: Hi,

I'd like to read forces applied by a cloth, on a collider. Is there any fonction allowing me to do that ?

Thanks,

Oybsan.

Yes, you want to use collision callbacks. See:
http://obi.virtualmethodstudio.com/tutor...sions.html

The idea is that you iterate over all contacts between each individual cloth particle and the collider. The contact struct contains normal, tangent and bitangent impulse magnitudes applied by the contact, as explained in the above link. You just have to convert from impulses to forces (dividing by the timestep).
Reply


Messages In This Thread
Getting forces on Obi colliders - by Oybsan - 07-08-2020, 11:57 AM
RE: Getting forces on Obi colliders - by josemendez - 07-08-2020, 12:27 PM
RE: Getting forces on Obi colliders - by Oybsan - 07-08-2020, 12:57 PM