C# Class Box2D.Dynamics.Joints.LineJointDef

Inheritance: JointDef
ファイルを表示 Open project: gerich-home/box2dnet

Public Properties

Property Type Description
EnableLimit bool
EnableMotor bool
LocalAnchorA Box2D.Common.Vec2
LocalAnchorB Box2D.Common.Vec2
LocalAxisA Box2D.Common.Vec2
LowerTranslation float
MaxMotorForce float
MotorSpeed float
UpperTranslation float

Public Methods

Method Description
Initialize ( Body b1, Body b2, Vec2 anchor, Vec2 axis ) : void
LineJointDef ( ) : Box2D.Common

Method Details

Initialize() public method

public Initialize ( Body b1, Body b2, Vec2 anchor, Vec2 axis ) : void
b1 Body
b2 Body
anchor Box2D.Common.Vec2
axis Box2D.Common.Vec2
return void

LineJointDef() public method

public LineJointDef ( ) : Box2D.Common
return Box2D.Common

Property Details

EnableLimit public_oe property

Enable/disable the joint limit.
public bool EnableLimit
return bool

EnableMotor public_oe property

Enable/disable the joint motor.
public bool EnableMotor
return bool

LocalAnchorA public_oe property

The local anchor point relative to body1's origin.
public Vec2,Box2D.Common LocalAnchorA
return Box2D.Common.Vec2

LocalAnchorB public_oe property

The local anchor point relative to body2's origin.
public Vec2,Box2D.Common LocalAnchorB
return Box2D.Common.Vec2

LocalAxisA public_oe property

The local translation axis in body1.
public Vec2,Box2D.Common LocalAxisA
return Box2D.Common.Vec2

LowerTranslation public_oe property

The lower translation limit, usually in meters.
public float LowerTranslation
return float

MaxMotorForce public_oe property

The maximum motor torque, usually in N-m.
public float MaxMotorForce
return float

MotorSpeed public_oe property

The desired motor speed in radians per second.
public float MotorSpeed
return float

UpperTranslation public_oe property

The upper translation limit, usually in meters.
public float UpperTranslation
return float