block.force

Syntax

Vector Access

v = block.force(ind)
block.force(ind) = v

Get/set the block force vector.

Returns:v - block force vector
Accepts:v - block force vector
Arguments:ind - block index

Component Access

f = block.force.x(ind)
block.force.x(ind) = f

Get/set the \(x\)-force on the block.

Returns:f - \(x\)-force on the block
Accepts:f - \(x\)-force on the block
Arguments:ind - block index
f = block.force.y(ind)
block.force.y(ind) = f

Get/set the \(y\)-force on the block.

Returns:f - \(y\)-force on the block
Accepts:f - \(y\)-force on the block
Arguments:ind - block index