Force unit in getContactInfo

Typically: "How do I... ", "How can I... " questions
Post Reply
robo_ninja
Posts: 15
Joined: 07 May 2018, 20:01

Force unit in getContactInfo

Post 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])

coppelia
Site Admin
Posts: 8223
Joined: 14 Dec 2012, 00:25

Re: Force unit in getContactInfo

Post by coppelia »

Hello,

yes, it is Newton.

Cheers

Post Reply