Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Cloth behind animation
#4
(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,
Reply


Messages In This Thread
Cloth behind animation - by LKH819 - 25-04-2022, 10:43 PM
RE: Cloth behind animation - by josemendez - 26-04-2022, 08:24 AM
RE: Cloth behind animation - by LKH819 - 26-04-2022, 10:27 PM
RE: Cloth behind animation - by josemendez - 27-04-2022, 07:30 AM