Page 1 of 1

Force unit in getContactInfo

Posted: 13 Apr 2020, 16:28
by robo_ninja
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])

Re: Force unit in getContactInfo

Posted: 14 Apr 2020, 14:27
by coppelia

yes, it is Newton.