Obi Official Forum

Full Version: calculate total deformation of a softbody
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Like the title says, any way for calculation of the total deformation of a softbody. The obiRope has calculate-length-function which can estimate the current total length. Does softbody has a function to calculate something like the total potential energy in it?

I would like to do some customized action when the total deformation exceeds certain value.
(21-02-2021, 01:58 AM)fewerhy Wrote: [ -> ]Like the title says, any way for calculation of the total deformation of a softbody. The obiRope has calculate-length-function which can estimate the current total length. Does softbody has a function to calculate something like the total potential energy in it?

I would like to do some customized action when the total deformation exceeds certain value.

Hi there,

Currently the per-shape matching cluster deformation matrix is not exposed, but we're working on it. Next update will allow you to access individual matrices and calculate the overall amount of elastic and/or plastic deformation undergone by either the entire body or specific regions of it.