Contact forces

Discussion in 'Simulation' started by mohammad, Jul 2, 2018.

  1. hi
    how can i extract contact forces from efc_force?
    in documents u said that after the constraint forces have been computed, the vector of forces for contact i starts at:
    mjtNum* contactforce = d->efc_force + d->contact.efc_address;
    1_ what is efc_address?
    2_ d->efc_force is a force vector and d->contact.efc_address is a int number. why are they added togheter? what dose it mean?