C# Class Box2D.Dynamics.Joints.WeldJoint

A weld joint essentially glues two bodies together. A weld joint may distort somewhat because the island constraint solver is approximate.
Inheritance: Joint
Afficher le fichier Open project: gerich-home/box2dnet

Méthodes publiques

Свойство Type Description
DampingRatio float
Frequency float
LocalAnchorA Box2D.Common.Vec2
LocalAnchorB Box2D.Common.Vec2

Méthodes publiques

Méthode Description
GetAnchorA ( Vec2 argOut ) : void
GetAnchorB ( Vec2 argOut ) : void
GetReactionForce ( float inv_dt, Vec2 argOut ) : void
GetReactionTorque ( float inv_dt ) : float
InitVelocityConstraints ( SolverData data ) : void
SolvePositionConstraints ( SolverData data ) : bool
SolveVelocityConstraints ( SolverData data ) : void

Méthodes protégées

Méthode Description
WeldJoint ( IWorldPool argWorld, WeldJointDef def ) : Box2D.Common

Method Details

GetAnchorA() public méthode

public GetAnchorA ( Vec2 argOut ) : void
argOut Box2D.Common.Vec2
Résultat void

GetAnchorB() public méthode

public GetAnchorB ( Vec2 argOut ) : void
argOut Box2D.Common.Vec2
Résultat void

GetReactionForce() public méthode

public GetReactionForce ( float inv_dt, Vec2 argOut ) : void
inv_dt float
argOut Box2D.Common.Vec2
Résultat void

GetReactionTorque() public méthode

public GetReactionTorque ( float inv_dt ) : float
inv_dt float
Résultat float

InitVelocityConstraints() public méthode

public InitVelocityConstraints ( SolverData data ) : void
data SolverData
Résultat void

SolvePositionConstraints() public méthode

public SolvePositionConstraints ( SolverData data ) : bool
data SolverData
Résultat bool

SolveVelocityConstraints() public méthode

public SolveVelocityConstraints ( SolverData data ) : void
data SolverData
Résultat void

WeldJoint() protected méthode

protected WeldJoint ( IWorldPool argWorld, WeldJointDef def ) : Box2D.Common
argWorld IWorldPool
def WeldJointDef
Résultat Box2D.Common

Property Details

DampingRatio public_oe property

public float DampingRatio
Résultat float

Frequency public_oe property

public float Frequency
Résultat float

LocalAnchorA public_oe property

public Vec2,Box2D.Common LocalAnchorA
Résultat Box2D.Common.Vec2

LocalAnchorB public_oe property

public Vec2,Box2D.Common LocalAnchorB
Résultat Box2D.Common.Vec2