ball.force.unbal

Syntax

Vector Access

v = ball.force.unbal(bp<,i>)

Get the ball unbalanced force.

The unbalanced force vector is defined as the sum of the contact force vectors, the applied force vector, and gravity loading.

Returns:

v - ball unbalanced force vector or component

Arguments:

bp - ball pointer

i - optional vector component

Component Access

f = ball.force.unbal.x(bp)

Get the x-component of the ball unbalanced force.

Returns:f - x-component of the ball unbalanced force vector
Arguments:bp - ball pointer
f = ball.force.unbal.y(bp)

Get the y-component of the ball unbalanced force.

Returns:f - y-component of the ball unbalanced force vector
Arguments:bp - ball pointer
f = ball.force.unbal.z(bp) (3D ONLY)

Get the z-component of the ball unbalanced force.

Returns:f - z-component of the ball unbalanced force vector
Arguments:bp - ball pointer