Package | org.rapidphysics |
Class | public class RapidG |
Inheritance | RapidG ![]() |
Property | Defined By | ||
---|---|---|---|
elapsed : Number [static]
How much time has elapsed this frame
| RapidG | ||
frameRate : Number [static] | RapidG | ||
height : Number [static] | RapidG | ||
integrationMethod : Number = 1 [static]
Change this to either INTEGRATION_EULER or INTEGRATION_VERLET depending on what your needs are (verlet is almost always better)
| RapidG | ||
keys : Keyboard [static] | RapidG | ||
libraryDesc : String [static] [read-only] | RapidG | ||
maxElapsed : Number = 0.0333333 [static] | RapidG | ||
mouseX : Number = 0 [static] | RapidG | ||
mouseY : Number = 0 [static] | RapidG | ||
paused : Boolean = false [static]
Halts the simulation
| RapidG | ||
stage : Stage [static] | RapidG | ||
timeScale : Number = 1.0 [static] | RapidG | ||
visualDebug : Boolean = true [static]
Draws debug info (velocity each frame, line normals, etc)
| RapidG | ||
width : Number [static] | RapidG |
Method | Defined By | ||
---|---|---|---|
RapidG() | RapidG |
Constant | Defined By | ||
---|---|---|---|
INTEGRATION_EULER : Number = 0 [static] | RapidG | ||
INTEGRATION_VERLET : Number = 1 [static] | RapidG | ||
LIBRARY_COMMENT : String = Beta [static] | RapidG | ||
LIBRARY_MAJOR_VERSION : uint = 0 [static] | RapidG | ||
LIBRARY_MINOR_VERSION : uint = 75 [static] | RapidG | ||
LIBRARY_NAME : String = Rapid Physics [static] | RapidG |
elapsed | property |
public static var elapsed:Number
How much time has elapsed this frame
frameRate | property |
public static var frameRate:Number
height | property |
public static var height:Number
integrationMethod | property |
public static var integrationMethod:Number = 1
Change this to either INTEGRATION_EULER or INTEGRATION_VERLET depending on what your needs are (verlet is almost always better)
keys | property |
public static var keys:Keyboard
libraryDesc | property |
libraryDesc:String
[read-only] public static function get libraryDesc():String
maxElapsed | property |
public static var maxElapsed:Number = 0.0333333
mouseX | property |
public static var mouseX:Number = 0
mouseY | property |
public static var mouseY:Number = 0
paused | property |
public static var paused:Boolean = false
Halts the simulation
stage | property |
public static var stage:Stage
timeScale | property |
public static var timeScale:Number = 1.0
visualDebug | property |
public static var visualDebug:Boolean = true
Draws debug info (velocity each frame, line normals, etc)
width | property |
public static var width:Number
RapidG | () | Constructor |
public function RapidG()
INTEGRATION_EULER | Constant |
public static const INTEGRATION_EULER:Number = 0
INTEGRATION_VERLET | Constant |
public static const INTEGRATION_VERLET:Number = 1
LIBRARY_COMMENT | Constant |
public static const LIBRARY_COMMENT:String = Beta
LIBRARY_MAJOR_VERSION | Constant |
public static const LIBRARY_MAJOR_VERSION:uint = 0
LIBRARY_MINOR_VERSION | Constant |
public static const LIBRARY_MINOR_VERSION:uint = 75
LIBRARY_NAME | Constant |
public static const LIBRARY_NAME:String = Rapid Physics