clump.template.addpebble

Syntax

p = clump.template.addpebble(c,f,v<,i>)

Add a pebble to a clump template. This operation has no impact on the clump template inertial attributes.

Returns:

p - pebble pointer

Arguments:

c - clump template pointer

f - pebble radius

v - pebble position

i - Optional pebble ID that, if not specified, is set to the next available ID.