powered by
This force simply pulls particles towards a fixed position on the x-axis.
The following parameters defines the training of the force and can be passed along a call to wield()
wield()
strength : The strength with which the attraction occurs (tidy eval)
strength
x : The position on the x-axis to pull towards. (tidy eval)
x
Other forces: center_force, collision_force, field_force, link_force, manybody_force, map_force, mean_force, random_force, reset_force, trap_force, y_force
center_force
collision_force
field_force
link_force
manybody_force
map_force
mean_force
random_force
reset_force
trap_force
y_force