y_force {particles} | R Documentation |
Attract particles towards a vertical position
Description
This force simply pulls particles towards a fixed position on the y-axis.
Training parameters
The following parameters defines the training of the force and can be passed
along a call to wield()
-
strength
: The strength with which the attraction occurs (tidy eval) -
y
: The position on the y-axis to pull towards. (tidy eval)
See Also
Other forces:
center_force
,
collision_force
,
field_force
,
link_force
,
manybody_force
,
map_force
,
mean_force
,
random_force
,
reset_force
,
trap_force
,
x_force
[Package particles version 0.2.3 Index]