C# Class BEPUphysics.Constraints.SingleEntity.MaximumAngularSpeedConstraint

Prevents the target entity from moving faster than the specified speeds.
Inheritance: SingleEntityConstraint, I3DImpulseConstraint
显示文件 Open project: Indiefreaks/igf

Private Properties

Property Type Description

Public Methods

Method Description
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.

Method Details

ExclusiveUpdate() public method

public ExclusiveUpdate ( ) : void
return void

MaximumAngularSpeedConstraint() public method

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
return System

MaximumAngularSpeedConstraint() public method

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

SolveIteration() public method

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

Update() public method

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