How to manually control collision detection

  1. temporarily disable collision detection

  2. Detecting collision torque

    Calculate the collision torque by subtracting the theoretical torquefrom the actual torque, and autonomously determine the subsequent tasks based on the magnitude of the collision torque

  3. enable collision detection