Méthode | Description | |
---|---|---|
InitSimulationWorld ( ) : void |
Inititialise world.
|
|
SetCartForce ( float n ) : void |
Set horizontal force in newtons to apply to cart.
|
|
SinglePoleBalancingWorld ( ) : Box2DX.Collision |
Construct with default world settings.
|
|
SinglePoleBalancingWorld ( float trackLength, float initialPoleAngle ) : Box2DX.Collision |
Construct with specified world settings.
|
Méthode | Description | |
---|---|---|
PopulateWorld ( ) : void |
Add objects to the Box2d world.
|
Méthode | Description | |
---|---|---|
CreatePole ( |
public SinglePoleBalancingWorld ( ) : Box2DX.Collision | ||
Résultat | Box2DX.Collision |
public SinglePoleBalancingWorld ( float trackLength, float initialPoleAngle ) : Box2DX.Collision | ||
trackLength | float | |
initialPoleAngle | float | |
Résultat | Box2DX.Collision |