C# 클래스 BEPUphysics.Paths.PathFollowing.EntityMover

Pushes an entity around according to goal positions and orientations.
상속: BEPUphysics.UpdateableSystems.Updateable, IDuringForcesUpdateable
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 메소드들

메소드 설명
EntityMover ( Entity e ) : System

Constructs a new EntityMover.

EntityMover ( Entity e, SingleEntityLinearMotor linearMotor ) : System

Constructs a new EntityMover.

GetLinearVelocity ( System.Vector3 start, System.Vector3 end, float dt ) : System.Vector3

Gets the angular velocity necessary to change an entity's orientation from the starting quaternion to the ending quaternion over time dt.

OnAdditionToSpace ( ISpace newSpace ) : void

Adds the motors to the space. Called automatically.

OnRemovalFromSpace ( ISpace oldSpace ) : void

Removes the motors from the space. Called automatically.

비공개 메소드들

메소드 설명
IDuringForcesUpdateable ( float dt ) : void

Called automatically by the space.

메소드 상세

EntityMover() 공개 메소드

Constructs a new EntityMover.
public EntityMover ( Entity e ) : System
e Entity Entity to move.
리턴 System

EntityMover() 공개 메소드

Constructs a new EntityMover.
public EntityMover ( Entity e, SingleEntityLinearMotor linearMotor ) : System
e Entity Entity to move.
linearMotor BEPUphysics.Constraints.SingleEntity.SingleEntityLinearMotor Motor to use for linear motion if the entity is dynamic.
리턴 System

GetLinearVelocity() 공개 정적인 메소드

Gets the angular velocity necessary to change an entity's orientation from the starting quaternion to the ending quaternion over time dt.
public static GetLinearVelocity ( System.Vector3 start, System.Vector3 end, float dt ) : System.Vector3
start System.Vector3 Initial position.
end System.Vector3 Final position.
dt float Time over which the angular velocity is to be applied.
리턴 System.Vector3

OnAdditionToSpace() 공개 메소드

Adds the motors to the space. Called automatically.
public OnAdditionToSpace ( ISpace newSpace ) : void
newSpace ISpace
리턴 void

OnRemovalFromSpace() 공개 메소드

Removes the motors from the space. Called automatically.
public OnRemovalFromSpace ( ISpace oldSpace ) : void
oldSpace ISpace
리턴 void