TorqueScript Reference

- Main Page
- Related Pages
- Modules
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
AmbientForceController Class Reference

Inherits GroupedSceneController.

## Public Member Functions
String | getForce ()
void | setForce (float x, float y)

## Member Function Documentation

String getForce | ( |  | ) |

Gets the ambient force being used.

Returns
  The ambient force being used.

void setForce | ( | float | x,
|  | float | y
| ) |  |

Sets the ambient force to use.

Parameters

  x | The component of the ambient force along the horizontal (world) axis.
  y | The component of the ambient force along the vertical (world) axis.

Returns
  No return value.