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

Prevents the target entity from moving faster than the specified speeds.
상속: SingleEntityConstraint, I3DImpulseConstraint
파일 보기 프로젝트 열기: Indiefreaks/igf

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ExclusiveUpdate ( ) : void
MaximumAngularSpeedConstraint ( ) : System

Constructs a maximum speed constraint. Set its Entity and MaximumSpeed to complete the configuration. IsActive also starts as false with this constructor.

MaximumAngularSpeedConstraint ( Entity e, float maxSpeed ) : System

Constructs a maximum speed constraint.

SolveIteration ( ) : float

Calculates and applies corrective impulses. Called automatically by space.

Update ( float dt ) : void

Calculates necessary information for velocity solving. Called automatically by space.

메소드 상세

ExclusiveUpdate() 공개 메소드

public ExclusiveUpdate ( ) : void
리턴 void

MaximumAngularSpeedConstraint() 공개 메소드

Constructs a maximum speed constraint. Set its Entity and MaximumSpeed to complete the configuration. IsActive also starts as false with this constructor.
public MaximumAngularSpeedConstraint ( ) : System
리턴 System

MaximumAngularSpeedConstraint() 공개 메소드

Constructs a maximum speed constraint.
public MaximumAngularSpeedConstraint ( Entity e, float maxSpeed ) : System
e Entity Affected entity.
maxSpeed float Maximum angular speed allowed.
리턴 System

SolveIteration() 공개 메소드

Calculates and applies corrective impulses. Called automatically by space.
public SolveIteration ( ) : float
리턴 float

Update() 공개 메소드

Calculates necessary information for velocity solving. Called automatically by space.
public Update ( float dt ) : void
dt float Time in seconds since the last update.
리턴 void