C# Class Box2D.Dynamics.Joints.FrictionJointDef

Friction joint definition.
Inheritance: JointDef
Afficher le fichier Open project: gerich-home/box2dnet Class Usage Examples

Méthodes publiques

Свойство Type Description
LocalAnchorA Box2D.Common.Vec2
LocalAnchorB Box2D.Common.Vec2
MaxForce float
MaxTorque float

Méthodes publiques

Méthode Description
FrictionJointDef ( ) : Box2D.Common
Initialize ( Body bA, Body bB, Vec2 anchor ) : void

Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.

Method Details

FrictionJointDef() public méthode

public FrictionJointDef ( ) : Box2D.Common
Résultat Box2D.Common

Initialize() public méthode

Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
public Initialize ( Body bA, Body bB, Vec2 anchor ) : void
bA Body
bB Body
anchor Box2D.Common.Vec2
Résultat void

Property Details

LocalAnchorA public_oe property

The local anchor point relative to bodyA's origin.
public Vec2,Box2D.Common LocalAnchorA
Résultat Box2D.Common.Vec2

LocalAnchorB public_oe property

The local anchor point relative to bodyB's origin.
public Vec2,Box2D.Common LocalAnchorB
Résultat Box2D.Common.Vec2

MaxForce public_oe property

The maximum friction force in N.
public float MaxForce
Résultat float

MaxTorque public_oe property

The maximum friction torque in N-m.
public float MaxTorque
Résultat float