# I3DExForce Struct Reference
[External Interfaces]

Inheritance diagram for I3DExForce:

List of all members.

## Public Member Functions
virtual MCCOMErr MCCOMAPI | GetForceAndTorque (const TPhysicalState &inPhysicalState, TVector3 &outForce, TVector3 &outTorque)=0
virtual boolean MCCOMAPI | WillApplyForce ()=0
virtual boolean MCCOMAPI | WillApplyTorque ()=0

## Detailed Description

I3DExForce defines a generic force that applies to all objects whose motion is controlled by physics.

## Member Function Documentation

virtual MCCOMErr MCCOMAPI I3DExForce::GetForceAndTorque | ( | const TPhysicalState & | inPhysicalState,
|  | TVector3 & | outForce,
|  | TVector3 & | outTorque |
| ) |  |  | `[pure virtual]`

Returns the force applied to an object in a given state (the force can depend position, speed, ...)

Parameters:

  | inPhysicalState | State of the object to which the force is applied
  | outForce | Force that is applied to this object in global coordinates
  | outTorque | Torque that is applied to this object in global coordinates

Returns:
  MC_S_OK if succeeded.

Implemented in TBasicForce.

virtual boolean MCCOMAPI I3DExForce::WillApplyForce | ( |  | ) | `[pure virtual]`

Returns true if this for applies a force (by opposition to torque)

Implemented in TBasicForce.

virtual boolean MCCOMAPI I3DExForce::WillApplyTorque | ( |  | ) | `[pure virtual]`

Returns true if this for applies a torque (by opposition to force)

Implemented in TBasicForce.

The documentation for this struct was generated from the following file:

- I3dExForce.h