y_constraint: Fixes particles to a vertical position

Description Training parameters See Also


This constraint simply prevents particles from moving in the y direction. For particles where the constraint evaluates to NA this constraint is ignored. If the constraint is enforced the velocity in the y direction will be set to 0.

Training parameters

The following parameters defines the training of the constraint and can be passed along a call to impose()

See Also

Other constraints: dominator_constraint, infinity_constraint, path_constraint, polygon_constraint, velocity_constraint, x_constraint

thomasp85/particles documentation built on Jan. 15, 2019, 2:25 a.m.