PackageBox2D.Common
Classpublic class b2Settings



Public Methods
 MethodDefined by
  
b2Assert(a:Boolean):void
[static]
b2Settings
Public Constants
 ConstantDefined by
  b2_angularSleepTolerance : Number = 0.011111111111111112
[static]
b2Settings
  b2_angularSlop : Number
[static]
b2Settings
  b2_contactBaumgarte : Number = 0.2
[static]
b2Settings
  b2_lengthUnitsPerMeter : Number = 30.0
[static]
b2Settings
  b2_linearSleepTolerance : Number = 0.3
[static]
b2Settings
  b2_linearSlop : Number = 0.15
[static]
b2Settings
  b2_massUnitsPerKilogram : Number = 1.0
[static]
b2Settings
  b2_maxAngularCorrection : Number
[static]
b2Settings
  b2_maxLinearCorrection : Number = 6.0
[static]
b2Settings
  b2_maxManifoldPoints : int = 2
[static]
b2Settings
  b2_maxPairs : int = 8192.0
[static]
b2Settings
  b2_maxPolyVertices : int = 8
[static]
b2Settings
  b2_maxProxies : int = 1024
[static]
b2Settings
  b2_maxShapesPerBody : int = 64
[static]
b2Settings
  b2_pi : Number = 3.141592653589793
[static]
b2Settings
  b2_timeToSleep : Number = 0.5
[static]
b2Settings
  b2_timeUnitsPerSecond : Number = 1.0
[static]
b2Settings
  b2_velocityThreshold : Number = 30.0
[static]
b2Settings
  USHRT_MAX : int = 0x0000ffff
[static]
b2Settings
Method detail
b2Assert()method
public static function b2Assert(a:Boolean):voidParameters
a:Boolean
Constant detail
b2_angularSleepToleranceconstant
public static const b2_angularSleepTolerance:Number = 0.011111111111111112
b2_angularSlopconstant 
public static const b2_angularSlop:Number
b2_contactBaumgarteconstant 
public static const b2_contactBaumgarte:Number = 0.2
b2_lengthUnitsPerMeterconstant 
public static const b2_lengthUnitsPerMeter:Number = 30.0
b2_linearSleepToleranceconstant 
public static const b2_linearSleepTolerance:Number = 0.3
b2_linearSlopconstant 
public static const b2_linearSlop:Number = 0.15
b2_massUnitsPerKilogramconstant 
public static const b2_massUnitsPerKilogram:Number = 1.0
b2_maxAngularCorrectionconstant 
public static const b2_maxAngularCorrection:Number
b2_maxLinearCorrectionconstant 
public static const b2_maxLinearCorrection:Number = 6.0
b2_maxManifoldPointsconstant 
public static const b2_maxManifoldPoints:int = 2
b2_maxPairsconstant 
public static const b2_maxPairs:int = 8192.0
b2_maxPolyVerticesconstant 
public static const b2_maxPolyVertices:int = 8
b2_maxProxiesconstant 
public static const b2_maxProxies:int = 1024
b2_maxShapesPerBodyconstant 
public static const b2_maxShapesPerBody:int = 64
b2_piconstant 
public static const b2_pi:Number = 3.141592653589793
b2_timeToSleepconstant 
public static const b2_timeToSleep:Number = 0.5
b2_timeUnitsPerSecondconstant 
public static const b2_timeUnitsPerSecond:Number = 1.0
b2_velocityThresholdconstant 
public static const b2_velocityThreshold:Number = 30.0
USHRT_MAXconstant 
public static const USHRT_MAX:int = 0x0000ffff