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

Constraint which tries to push an entity to a desired location.
상속: 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.

SingleEntityLinearMotor ( ) : System

Constructs a new single body linear motor. This motor will try to move a single entity to a goal velocity or to a goal position. This constructor will start the motor with isActive = false.

SingleEntityLinearMotor ( Entity entity, Vector3 point ) : System

Constructs a new single body linear motor. This motor will try to move a single entity to a goal velocity or to a goal position.

SolveIteration ( ) : float

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

Update ( float dt ) : void

Performs the frame's configuration step.

비공개 메소드들

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

SingleEntityLinearMotor() 공개 메소드

Constructs a new single body linear motor. This motor will try to move a single entity to a goal velocity or to a goal position. This constructor will start the motor with isActive = false.
public SingleEntityLinearMotor ( ) : System
리턴 System

SingleEntityLinearMotor() 공개 메소드

Constructs a new single body linear motor. This motor will try to move a single entity to a goal velocity or to a goal position.
public SingleEntityLinearMotor ( Entity entity, Vector3 point ) : System
entity Entity Entity to affect.
point Vector3 Point in world space attached to the entity that will be motorized.
리턴 System

SolveIteration() 공개 메소드

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

Update() 공개 메소드

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