contact.force.local

Syntax

v = contact.force.local(c<,i>)

Get the contact force in the local coordinate system.

Returns:

v - contact force expressed in the local coordinate system (vector or component)

Arguments:

c - mechanical contact pointer

i - optional vector component

Component Access

f = contact.force.local.x(c)

Get the x-component of the contact force in the local coordinate system.

Returns:f - x-component of the contact contact force in the local coordinate system
Arguments:c - contact pointer
f = contact.force.local.y(c)

Get the y-component of the contact force in the local coordinate system.

Returns:f - y-component of the contact force in the local coordinate system
Arguments:c - contact pointer
f = contact.force.local.z(c) (3D ONLY)

Get the z-component of the contact force in the local coordinate system.

Returns:f - z-component of the contact force in the local coordinate system
Arguments:c - contact pointer