C# Class BEPUphysics.Constraints.SolverGroups.WeldJoint

Restricts the linear and angular motion between two entities.
Inheritance: SolverGroup
ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
WeldJoint ( ) : BEPUphysics.Constraints.TwoEntity

Constructs a new constraint which restricts the linear and angular motion between two entities. This constructs the internal constraints, but does not configure them. Before using a constraint constructed in this manner, ensure that its active constituent constraints are properly configured. The entire group as well as all internal constraints are initially inactive (IsActive = false).

WeldJoint ( Entity connectionA, Entity connectionB ) : BEPUphysics.Constraints.TwoEntity

Constructs a new constraint which restricts the linear and angular motion between two entities.

Method Details

WeldJoint() public method

Constructs a new constraint which restricts the linear and angular motion between two entities. This constructs the internal constraints, but does not configure them. Before using a constraint constructed in this manner, ensure that its active constituent constraints are properly configured. The entire group as well as all internal constraints are initially inactive (IsActive = false).
public WeldJoint ( ) : BEPUphysics.Constraints.TwoEntity
return BEPUphysics.Constraints.TwoEntity

WeldJoint() public method

Constructs a new constraint which restricts the linear and angular motion between two entities.
public WeldJoint ( Entity connectionA, Entity connectionB ) : BEPUphysics.Constraints.TwoEntity
connectionA BEPUphysics.Entities.Entity First entity of the constraint pair.
connectionB BEPUphysics.Entities.Entity Second entity of the constraint pair.
return BEPUphysics.Constraints.TwoEntity