Skip to main content
. 2024 Feb 22;24(5):1415. doi: 10.3390/s24051415
Algorithm 1 Contact Solver base Force
 Given parameters K and  CR
 while True do
  Get position of collide object δi[t]
  collide(A,B)//Collision detection for object A and B
  if number of contact > 0
   Compute Ic ,r¨c , Ieff 
   for each contact i do
    if contact is start
     then ccd pi[t]pi[t1]
    else if contact is end
     then ttc//modify time of contact
    end if
    Compute ait, vit, pit  with integrator
    Compute fit Fit/t
   end for
  end if
 end while