MeshSolver.add_gravity

MeshSolver.add_gravity(fz=0.01)

Add gravity to the mesh.

Parameters:
fzfloat, optional

Z component of the gravity force vector. Default is -0.001.

Returns:
int

ID of the added force.