27-04-2022, 07:30 AM
(This post was last modified: 27-04-2022, 07:32 AM by josemendez.)
(26-04-2022, 10:27 PM)LKH819 Wrote: Thanks, I added obi rigibody and it works, why?
Interpolation makes no difference, neither do the other options.
Btw, Obi is doing really good job on most of the simulation but skinned mesh always have some sort of problem.
Thanks!!
If your character controller is a rigidbody, but you don't have a ObiRigidbody component to match, this means the cloth can only react to it once it has moved. So the rigidbody will move to a new position, the cloth will collide with it, and then move out. Depending on which component Unity decides to update first and the updater you're using this can generate a 1-frame delay.
However if you add a ObiRigidbody, the cloth is now aware of the rigidbody's velocity. This enables CCD to kick in, which essentially allows Obi to ask "where's the rigidbody going to move next, based on its velocity vector?" and react accordingly.
kind regards,