clump.pebble.vel

Syntax

Vector Access

v = clump.pebble.vel(p<,i>)

Get the pebble velocity. The velocity, including rotation about the clump position, is returned at the pebble position.

Returns:

v - pebble velocity vector or component

Arguments:

p - pebble pointer

i - optional vector component

Component Access

f = clump.pebble.vel.x(p)

Get the x-component of the pebble velocity. The velocity, including rotation about the clump position, is returned at the pebble position.

Returns:f - x-component of the pebble velocity vector
Arguments:p - pebble pointer
f = clump.pebble.vel.y(p)

Get the y-component of the pebble velocity. The velocity, including rotation about the clump position, is returned at the pebble position.

Returns:f - y-component of the pebble velocity vector
Arguments:p - pebble pointer
f = clump.pebble.vel.z(p) (3D ONLY)

Get the z-component of the pebble velocity. The velocity, including rotation about the clump position, is returned at the pebble position.

Returns:f - z-component of the pebble velocity vector
Arguments:p - pebble pointer