Force unit in getContactInfo
Posted: 13 Apr 2020, 16:28
I am using the following equations in a loop to calculate the total contact forces. What is the unit of the force being published? Newton?
Code: Select all
objectsInContact,_,forceDirectionAndAmplitude =sim.getContactInfo(sim.handle_all, box[i], index)
force = math.abs(forceDirectionAndAmplitude[1])+math.abs(forceDirectionAndAmplitude[2])+math.abs(forceDirectionAndAmplitude[3])