Main   GitHub

Methods | Fields | List of all members
AmbientForceController Class Reference

Inherits GroupedSceneController, and GroupedSceneController.

Methods

string getForce ()
 
string getForce ()
 
void setForce (float x, float y)
 
void setForce (float x, float y)
 

Fields

Vector2 Force
 
SimBase
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
Namespace Linking
string superclass
 
string class
 
- Fields inherited from GroupedSceneController
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 
- Fields inherited from SceneObjectSet
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 
- Fields inherited from SimObject
bool canSaveDynamicFields
 
string internalName
 
SimObjectPtr parentGroup
 
string superclass
 
string class
 

Methods

string AmbientForceController::getForce ( )

Gets the ambient force being used.

Returns
The ambient force being used.
string AmbientForceController::getForce ( )

Gets the ambient force being used.

Returns
The ambient force being used.
void AmbientForceController::setForce ( float  x,
float  y 
)
  • Sets the ambient force to use.
    Parameters
    xThe component of the ambient force along the horizontal (world) axis.
    yThe component of the ambient force along the vertical (world) axis.
    Returns
    No return value.
void AmbientForceController::setForce ( float  x,
float  y 
)
  • Sets the ambient force to use.
    Parameters
    xThe component of the ambient force along the horizontal (world) axis.
    yThe component of the ambient force along the vertical (world) axis.
    Returns
    No return value.

Member Data Documentation

bool AmbientForceController::canSaveDynamicFields
string AmbientForceController::class

Script SuperClass of object.

Vector2 AmbientForceController::Force

The constant force to apply.

string AmbientForceController::internalName
SimObjectPtr AmbientForceController::parentGroup

Group hierarchy parent of the object.

string AmbientForceController::superclass

Script Class of object.



Copyright © 2013 GarageGames, LLC. All Rights Reserved.