C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

Force::GetTargetField

Defined in:  C4Forces.h
Returns the field to which a force is assigned.
Prototype

Field *GetTargetField(voidconst;

Description
The GetTargetField function returns the Field node to which a force is assigned. If the force is not assigned to a field, then the return value is nullptr.
See Also

Field::GetForce

Field::SetForce