C# 클래스 BEPUphysics.Constraints.Collision.ContactFrictionConstraint

Computes the friction force for a contact when central friction cannot be used.
상속: EntitySolverUpdateable
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
CleanUp ( ) : void

Cleans upt he friction constraint.

ContactFrictionConstraint ( ) : System

Constructs a new friction constraint.

ExclusiveUpdate ( ) : void

Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.

Setup ( ContactManifoldConstraint contactManifoldConstraint, ContactPenetrationConstraint penetrationConstraint ) : void

Configures the friction constraint for a new contact.

SolveIteration ( ) : float

Computes one iteration of the constraint to meet the solver updateable's goal.

Update ( float dt ) : void

Initializes the constraint for this frame.

보호된 메소드들

메소드 설명
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void

메소드 상세

CleanUp() 공개 메소드

Cleans upt he friction constraint.
public CleanUp ( ) : void
리턴 void

CollectInvolvedEntities() 보호된 메소드

protected CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
outputInvolvedEntities RawList
리턴 void

ContactFrictionConstraint() 공개 메소드

Constructs a new friction constraint.
public ContactFrictionConstraint ( ) : System
리턴 System

ExclusiveUpdate() 공개 메소드

Performs any pre-solve iteration work that needs exclusive access to the members of the solver updateable. Usually, this is used for applying warmstarting impulses.
public ExclusiveUpdate ( ) : void
리턴 void

Setup() 공개 메소드

Configures the friction constraint for a new contact.
public Setup ( ContactManifoldConstraint contactManifoldConstraint, ContactPenetrationConstraint penetrationConstraint ) : void
contactManifoldConstraint ContactManifoldConstraint Manifold to which the constraint belongs.
penetrationConstraint ContactPenetrationConstraint Penetration constraint associated with this friction constraint.
리턴 void

SolveIteration() 공개 메소드

Computes one iteration of the constraint to meet the solver updateable's goal.
public SolveIteration ( ) : float
리턴 float

Update() 공개 메소드

Initializes the constraint for this frame.
public Update ( float dt ) : void
dt float Time since the last frame.
리턴 void