attach.pos

Syntax

Vector Access

v = attach.pos(p<,i>)

Get the attach position.

Returns:

v - attach position vector or component

Arguments:

p - attach pointer

i - optional vector component

Component Access

f = attach.pos.x(p)

Get the x-component of the attach position.

Returns:f - x-component of the attach position vector
Arguments:p - attach pointer
f = attach.pos.y(p)

Get the y-component of the attach position.

Returns:f - y-component of the attach position vector
Arguments:p - attach pointer
f = attach.pos.z(p)

Get the z-component of the attach position.

Returns:f - z-component of the attach position vector
Arguments:p - attach pointer