ball trace command


ball trace <id id > id id2 | v

Add a ball particle trace. The positions and velocities of balls can be sampled and stored during a model run and the path through space can be visualized. The optional id directly following trace creates a particle trace with the specified ID. If not specified, then the next available particle trace ID is used. Following this, either 1) a position vector or 2) or an additional id keyword must be given to identify a specific ball. See the c trace commands for details regarding the manipulation of particle traces.

Usage Example

Set a trace on the ball whose ID = 1; the trace will be assigned the next available ID automatically.

ball trace id 1

from “TableTennis.dat” in Table Tennis