C# 클래스 BEPUphysics.Constraints.SingleEntity.SingleEntityAngularMotor

Constraint which attempts to restrict the relative angular velocity of two entities to some value. Can use a target relative orientation to apply additional force.
상속: SingleEntityConstraint, I3DImpulseConstraintWithError
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
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.

SingleEntityAngularMotor ( ) : System

Constructs a new constraint which attempts to restrict the relative angular velocity of two entities to some value. This constructor will make the angular motor start with isActive set to false.

SingleEntityAngularMotor ( Entity entity ) : System

Constructs a new constraint which attempts to restrict the relative angular velocity of two entities to some value.

SolveIteration ( ) : float

Applies the corrective impulses required by the constraint.

Update ( float dt ) : void

Initializes the constraint for the current frame.

비공개 메소드들

메소드 설명
ComputeMaxForces ( float maxForce, float dt ) : void

Computes the maxForceDt and maxForceDtSquared fields.

메소드 상세

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

SingleEntityAngularMotor() 공개 메소드

Constructs a new constraint which attempts to restrict the relative angular velocity of two entities to some value. This constructor will make the angular motor start with isActive set to false.
public SingleEntityAngularMotor ( ) : System
리턴 System

SingleEntityAngularMotor() 공개 메소드

Constructs a new constraint which attempts to restrict the relative angular velocity of two entities to some value.
public SingleEntityAngularMotor ( Entity entity ) : System
entity Entity Affected entity.
리턴 System

SolveIteration() 공개 메소드

Applies the corrective impulses required by the constraint.
public SolveIteration ( ) : float
리턴 float

Update() 공개 메소드

Initializes the constraint for the current frame.
public Update ( float dt ) : void
dt float Time between frames.
리턴 void