TorqueScript Reference
|
#include <AmbientForceController_ScriptBinding.h>
Inherits GroupedSceneController.
Public Member Functions | |
String | getForce () |
void | setForce (float x, float y) |
String getForce | ( | ) |
Gets the ambient force being used.
void setForce | ( | float | x, |
float | y | ||
) |
Sets the ambient force to use.
x | The component of the ambient force along the horizontal (world) axis. |
y | The component of the ambient force along the vertical (world) axis. |