PackageBox2D.Dynamics.Joints
Classpublic class b2WeldJoint
Inheritanceb2WeldJoint Inheritance b2Joint
Sourceb2WeldJoint.as

A weld joint essentially glues two bodies together. A weld joint may distort somewhat because the island constraint solver is approximate.



Public Methods
 MethodDefined by
  
Get the anchor point on bodyA in world coordinates.
b2WeldJoint
  
Get the anchor point on bodyB in world coordinates.
b2WeldJoint
 Inherited
Get the first body attached to this joint.
b2Joint
 Inherited
Get the second body attached to this joint.
b2Joint
 Inherited
Get the next joint the world joint list.
b2Joint
  
GetReactionForce(inv_dt:Number):b2Vec2
Get the reaction force on body2 at the joint anchor in Newtons.
b2WeldJoint
  
GetReactionTorque(inv_dt:Number):Number
Get the reaction torque on body2 in N.
b2WeldJoint
 Inherited
GetType():int
Get the type of the concrete joint.
b2Joint
 Inherited
Get the user data pointer.
b2Joint
 Inherited
IsActive():Boolean
Short-cut function to determine if either body is inactive.
b2Joint
 Inherited
SetUserData(data:*):void
Set the user data pointer.
b2Joint
Method detail
GetAnchorA()method
public override function GetAnchorA():b2Vec2

Get the anchor point on bodyA in world coordinates.

Returns
b2Vec2
GetAnchorB()method 
public override function GetAnchorB():b2Vec2

Get the anchor point on bodyB in world coordinates.

Returns
b2Vec2
GetReactionForce()method 
public override function GetReactionForce(inv_dt:Number):b2Vec2

Get the reaction force on body2 at the joint anchor in Newtons.

Parameters
inv_dt:Number

Returns
b2Vec2
GetReactionTorque()method 
public override function GetReactionTorque(inv_dt:Number):Number

Get the reaction torque on body2 in N.

Parameters
inv_dt:Number

Returns
Number