ball.force.app

Syntax

Vector Access

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

Get/set the ball applied force.

Returns:

v - ball applied force vector or component

Accepts:

v - ball applied force vector or component

Arguments:

bp - ball pointer

i - optional vector component

Component Access

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

Get/set the x-component of the ball applied force.

Returns:f - x-component of the ball applied force vector
Accepts:f - x-component of the ball applied force vector
Arguments:bp - ball pointer
f = ball.force.app.y(bp)
ball.force.app.y(bp) = f

Get/set the y-component of the ball applied force.

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

Get/set the z-component of the ball applied force.

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