options
Object
overwrites default options
A linear decay function
A Morse potential decay function (http://en.wikipedia.org/wiki/Morse_potential)
An inverse distance decay function
An inverse squared distance decay function
The strength of the force Range : [0, 100]
The location of the force, if not another physics body
The range of the repulsive force
A normalization for the force to avoid singularities at the origin
The maximum magnitude of the force Range : [0, Infinity]
The type of decay the repulsive force should have
Adds a drag force to a physics body's force accumulator.