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

Computes the forces necessary to keep two entities from going through each other at a contact point.
상속: EntitySolverUpdateable
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
CleanUp ( ) : void

Cleans up the constraint.

ContactPenetrationConstraint ( ) : BEPUphysics.Entities

Constructs a new penetration 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, Contact contact ) : void

Configures the penetration constraint.

SolveIteration ( ) : float

Computes and applies an impulse to keep the colliders from penetrating.

Update ( float dt ) : void

Performs the frame's configuration step.

보호된 메소드들

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

메소드 상세

CleanUp() 공개 메소드

Cleans up the constraint.
public CleanUp ( ) : void
리턴 void

CollectInvolvedEntities() 보호된 메소드

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

ContactPenetrationConstraint() 공개 메소드

Constructs a new penetration constraint.
public ContactPenetrationConstraint ( ) : BEPUphysics.Entities
리턴 BEPUphysics.Entities

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 penetration constraint.
public Setup ( ContactManifoldConstraint contactManifoldConstraint, Contact contact ) : void
contactManifoldConstraint ContactManifoldConstraint Owning manifold constraint.
contact BEPUphysics.CollisionTests.Contact Contact associated with the penetration constraint.
리턴 void

SolveIteration() 공개 메소드

Computes and applies an impulse to keep the colliders from penetrating.
public SolveIteration ( ) : float
리턴 float

Update() 공개 메소드

Performs the frame's configuration step.
public Update ( float dt ) : void
dt float Timestep duration.
리턴 void