Property | Defined by | ||
---|---|---|---|
e_allowSleepFlag : uint = 0x0010 [static]
| b2Body | ||
e_destroyFlag : uint = 0x0020 [static]
| b2Body | ||
e_frozenFlag : uint = 0x0002 [static]
| b2Body | ||
e_islandFlag : uint = 0x0004 [static]
| b2Body | ||
e_sleepFlag : uint = 0x0008 [static]
| b2Body | ||
e_staticFlag : uint = 0x0001 [static]
| b2Body | ||
m_angularDamping : Number | b2Body | ||
m_angularVelocity : Number | b2Body | ||
m_center : b2Vec2 | b2Body | ||
m_contactList : b2ContactNode | b2Body | ||
m_flags : uint | b2Body | ||
m_force : b2Vec2 | b2Body | ||
m_I : Number | b2Body | ||
m_invI : Number | b2Body | ||
m_invMass : Number | b2Body | ||
m_jointList : b2JointNode | b2Body | ||
m_linearDamping : Number | b2Body | ||
m_linearVelocity : b2Vec2 | b2Body | ||
m_mass : Number | b2Body | ||
m_next : b2Body | b2Body | ||
m_position : b2Vec2 | b2Body | ||
m_position0 : b2Vec2 | b2Body | ||
m_prev : b2Body | b2Body | ||
m_R : b2Mat22 | b2Body | ||
m_rotation : Number | b2Body | ||
m_rotation0 : Number | b2Body | ||
m_shapeCount : int | b2Body | ||
m_shapeList : b2Shape | b2Body | ||
m_sleepTime : Number | b2Body | ||
m_torque : Number | b2Body | ||
m_userData : * | b2Body | ||
m_world : b2World | b2Body |
Method | Defined by | ||
---|---|---|---|
b2Body | |||
AllowSleeping(flag:Boolean):void
| b2Body | ||
b2Body | |||
b2Body | |||
ApplyTorque(torque:Number):void
| b2Body | ||
Destroy():void
| b2Body | ||
Freeze():void
| b2Body | ||
GetAngularVelocity():Number
| b2Body | ||
b2Body | |||
b2Body | |||
GetInertia():Number
| b2Body | ||
b2Body | |||
b2Body | |||
b2Body | |||
b2Body | |||
GetMass():Number
| b2Body | ||
b2Body | |||
b2Body | |||
GetRotation():Number
| b2Body | ||
b2Body | |||
b2Body | |||
GetUserData():*
| b2Body | ||
b2Body | |||
b2Body | |||
IsConnected(other:b2Body):Boolean
| b2Body | ||
IsFrozen():Boolean
| b2Body | ||
IsSleeping():Boolean
| b2Body | ||
IsStatic():Boolean
| b2Body | ||
QuickSyncShapes():void
| b2Body | ||
SetAngularVelocity(w:Number):void
| b2Body | ||
SetCenterPosition(position:b2Vec2, rotation:Number):void
| b2Body | ||
SetLinearVelocity(v:b2Vec2):void
| b2Body | ||
SetOriginPosition(position:b2Vec2, rotation:Number):void
| b2Body | ||
SynchronizeShapes():void
| b2Body | ||
WakeUp():void
| b2Body |
e_allowSleepFlag | property |
public static var e_allowSleepFlag:uint = 0x0010
e_destroyFlag | property |
public static var e_destroyFlag:uint = 0x0020
e_frozenFlag | property |
public static var e_frozenFlag:uint = 0x0002
e_islandFlag | property |
public static var e_islandFlag:uint = 0x0004
e_sleepFlag | property |
public static var e_sleepFlag:uint = 0x0008
e_staticFlag | property |
public static var e_staticFlag:uint = 0x0001
m_angularDamping | property |
public var m_angularDamping:Number
m_angularVelocity | property |
public var m_angularVelocity:Number
m_center | property |
public var m_center:b2Vec2
m_contactList | property |
public var m_contactList:b2ContactNode
m_flags | property |
public var m_flags:uint
m_force | property |
public var m_force:b2Vec2
m_I | property |
public var m_I:Number
m_invI | property |
public var m_invI:Number
m_invMass | property |
public var m_invMass:Number
m_jointList | property |
public var m_jointList:b2JointNode
m_linearDamping | property |
public var m_linearDamping:Number
m_linearVelocity | property |
public var m_linearVelocity:b2Vec2
m_mass | property |
public var m_mass:Number
m_next | property |
public var m_next:b2Body
m_position | property |
public var m_position:b2Vec2
m_position0 | property |
public var m_position0:b2Vec2
m_prev | property |
public var m_prev:b2Body
m_R | property |
public var m_R:b2Mat22
m_rotation | property |
public var m_rotation:Number
m_rotation0 | property |
public var m_rotation0:Number
m_shapeCount | property |
public var m_shapeCount:int
m_shapeList | property |
public var m_shapeList:b2Shape
m_sleepTime | property |
public var m_sleepTime:Number
m_torque | property |
public var m_torque:Number
m_userData | property |
public var m_userData:*
m_world | property |
public var m_world:b2World
b2Body | () | constructor |
AllowSleeping | () | method |
public function AllowSleeping(flag:Boolean):void
Parameters
flag:Boolean |
ApplyForce | () | method |
ApplyImpulse | () | method |
public function ApplyImpulse(impulse:b2Vec2, point:b2Vec2):void
Parameters
impulse:b2Vec2 |
|
point:b2Vec2 |
ApplyTorque | () | method |
public function ApplyTorque(torque:Number):void
Parameters
torque:Number |
Destroy | () | method |
public function Destroy():void
Freeze | () | method |
public function Freeze():void
GetAngularVelocity | () | method |
public function GetAngularVelocity():Number
Returns
Number |
GetCenterPosition | () | method |
GetContactList | () | method |
GetInertia | () | method |
public function GetInertia():Number
Returns
Number |
GetJointList | () | method |
GetLinearVelocity | () | method |
GetLocalPoint | () | method |
GetLocalVector | () | method |
public function GetLocalVector(worldVector:b2Vec2):b2Vec2
Parameters
worldVector:b2Vec2 |
b2Vec2 |
GetMass | () | method |
public function GetMass():Number
Returns
Number |
GetNext | () | method |
GetOriginPosition | () | method |
GetRotation | () | method |
public function GetRotation():Number
Returns
Number |
GetRotationMatrix | () | method |
GetShapeList | () | method |
GetUserData | () | method |
public function GetUserData():*
Returns
* |
GetWorldPoint | () | method |
GetWorldVector | () | method |
public function GetWorldVector(localVector:b2Vec2):b2Vec2
Parameters
localVector:b2Vec2 |
b2Vec2 |
IsConnected | () | method |
IsFrozen | () | method |
public function IsFrozen():Boolean
Returns
Boolean |
IsSleeping | () | method |
public function IsSleeping():Boolean
Returns
Boolean |
IsStatic | () | method |
public function IsStatic():Boolean
Returns
Boolean |
QuickSyncShapes | () | method |
public function QuickSyncShapes():void
SetAngularVelocity | () | method |
public function SetAngularVelocity(w:Number):void
Parameters
w:Number |
SetCenterPosition | () | method |
public function SetCenterPosition(position:b2Vec2, rotation:Number):void
Parameters
position:b2Vec2 |
|
rotation:Number |
SetLinearVelocity | () | method |
SetOriginPosition | () | method |
public function SetOriginPosition(position:b2Vec2, rotation:Number):void
Parameters
position:b2Vec2 |
|
rotation:Number |
SynchronizeShapes | () | method |
public function SynchronizeShapes():void
WakeUp | () | method |
public function WakeUp():void