contact.force.global

Syntax

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

Get the contact force in the global coordinate system.

Returns:

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

Arguments:

c - mechanical contact pointer

i - optional vector component

Component Access

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

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

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

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

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

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

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