Contact checking

Discussion in 'Simulation' started by joemathai, Mar 16, 2017.

  1. Hi, Is there a way to find all geoms in a scene that share a contact with the given geom ?
     
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    Yes, write some code to scan the list of contacts in mjData.contact. Each contact contains the ids of the two participating geoms.