C# Class Box2DX.Dynamics.Joint

Afficher le fichier Open project: KrugerHeavyIndustries/box2d-unity Class Usage Examples

Protected Properties

Свойство Type Description
_invMass1 float
_invMass2 float
_localCenter1 System.Vector2
_type JointType
_userData object

Méthodes publiques

Méthode Description
GetBody1 ( ) : Body

Get the first body attached to this joint.

GetBody2 ( ) : Body

Get the second body attached to this joint.

GetNext ( ) : Joint

Get the next joint the world joint list.

GetReactionForce ( float inv_dt ) : System.Vector2

Get the reaction force on body2 at the joint anchor.

GetReactionTorque ( float inv_dt ) : float

Get the reaction torque on body2.

GetType ( ) : JointType

Get the type of the concrete joint.

Méthodes protégées

Méthode Description
Joint ( JointDef def ) : System

Private Methods

Méthode Description
ComputeTransform ( Box2DX.Common.Transform &xf, System.Vector2 center, System.Vector2 localCenter, float angle ) : void
Create ( JointDef def ) : Joint
Destroy ( Joint joint ) : void
InitVelocityConstraints ( TimeStep step ) : void
SolvePositionConstraints ( float baumgarte ) : bool
SolveVelocityConstraints ( TimeStep step ) : void

Method Details

GetBody1() public méthode

Get the first body attached to this joint.
public GetBody1 ( ) : Body
Résultat Body

GetBody2() public méthode

Get the second body attached to this joint.
public GetBody2 ( ) : Body
Résultat Body

GetNext() public méthode

Get the next joint the world joint list.
public GetNext ( ) : Joint
Résultat Joint

GetReactionForce() public abstract méthode

Get the reaction force on body2 at the joint anchor.
public abstract GetReactionForce ( float inv_dt ) : System.Vector2
inv_dt float
Résultat System.Vector2

GetReactionTorque() public abstract méthode

Get the reaction torque on body2.
public abstract GetReactionTorque ( float inv_dt ) : float
inv_dt float
Résultat float

GetType() public méthode

Get the type of the concrete joint.
public GetType ( ) : JointType
Résultat JointType

Joint() protected méthode

protected Joint ( JointDef def ) : System
def JointDef
Résultat System

Property Details

_invMass1 protected_oe property

protected float _invMass1
Résultat float

_invMass2 protected_oe property

protected float _invMass2
Résultat float

_localCenter1 protected_oe property

protected Vector2,System _localCenter1
Résultat System.Vector2

_type protected_oe property

protected JointType _type
Résultat JointType

_userData protected_oe property

protected object _userData
Résultat object