The Electric Force (Coulomb's Law)
Optional
The forces that were computed the last time that the updateForces() method was called.
updateForces()
The proportionality constant, Coulomb's constant. The approximate value in SI units is 9 x 109 N·m2/C2. The default value is one (1).
Computes the potential energy of the gravitational interaction. U = k q1 q2 / r, where r is the center to center separation of m1 and m2.
Computes the forces due to the Coulomb interaction. F = k * q1 * q2 * direction(r2 - r1) / quadrance(r2 - r1)
Generated using TypeDoc
The Electric Force (Coulomb's Law)