ball.moment.app

Syntax

Vector Access

v = ball.moment.app(b<,i>)
ball.moment.app(b<,i>) = v

Get/set the ball applied moment.

Returns:

v - ball applied moment vector or component

Accepts:

v - ball applied moment vector or component

Arguments:

b - ball pointer

i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.

Component Access

f = ball.moment.app.x(b) (3D ONLY)
ball.moment.app.x(b) = f (3D ONLY)

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

Returns:f - x-component of the ball applied moment vector
Accepts:f - x-component of the ball applied moment vector
Arguments:b - ball pointer
f = ball.moment.app.y(b) (3D ONLY)
ball.moment.app.y(b) = f (3D ONLY)

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

Returns:f - y-component of the ball applied moment vector
Accepts:f - y-component of the ball applied moment vector
Arguments:b - ball pointer
f = ball.moment.app.z(b)
ball.moment.app.z(b) = f

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

Returns:f - z-component of the ball applied moment vector
Accepts:f - z-component of the ball applied moment vector
Arguments:b - ball pointer