Method | Description | |
---|---|---|
InitSimulationWorld ( ) : void |
Inititialise world.
|
|
InvertedDoublePendulumWorld ( ) : Box2DX.Collision |
Construct with default world settings.
|
|
InvertedDoublePendulumWorld ( float trackLength, float cartJointInitialAngle, float elbowJointInitialAngle ) : Box2DX.Collision |
Construct with specified world settings.
|
|
SetCartForce ( float n ) : void |
Set horizontal force in newtons to apply to cart.
|
Method | Description | |
---|---|---|
PopulateWorld ( ) : void |
Add objects to the Box2d world.
|
Method | Description | |
---|---|---|
CalcPoleEndPos ( |
||
CreatePole ( |
public InvertedDoublePendulumWorld ( ) : Box2DX.Collision | ||
return | Box2DX.Collision |
public InvertedDoublePendulumWorld ( float trackLength, float cartJointInitialAngle, float elbowJointInitialAngle ) : Box2DX.Collision | ||
trackLength | float | |
cartJointInitialAngle | float | |
elbowJointInitialAngle | float | |
return | Box2DX.Collision |