C# Class BEPUphysics.Constraints.SingleEntity.SingleEntityConstraint

Abstract superclass of constraints which control a single entity.
Inheritance: EntitySolverUpdateable
显示文件 Open project: Indiefreaks/igf

Protected Properties

Property Type Description
entity BEPUphysics.Entities.Entity
iterationsAtZeroImpulse int

Protected Methods

Method Description
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void

Adds entities associated with the solver item to the involved entities list. Ensure that sortInvolvedEntities() is called at the end of the function. This allows the non-batched multithreading system to lock properly.

Method Details

CollectInvolvedEntities() protected method

Adds entities associated with the solver item to the involved entities list. Ensure that sortInvolvedEntities() is called at the end of the function. This allows the non-batched multithreading system to lock properly.
protected CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
outputInvolvedEntities RawList
return void

Property Details

entity protected_oe property

Entity affected by the constraint.
protected Entity,BEPUphysics.Entities entity
return BEPUphysics.Entities.Entity

iterationsAtZeroImpulse protected_oe property

Number of frames so far at effectively zero corrective impulse. Set to zero during every preStep(float dt) call and incremented by checkForEarlyOutIterations(Vector3 impulse).
protected int iterationsAtZeroImpulse
return int