메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
PopulateWorld ( ) : void |
Add objects to the Box2d world.
|
메소드 | 설명 | |
---|---|---|
CreatePole ( |
public SinglePoleBalancingWorld ( ) : Box2DX.Collision | ||
리턴 | Box2DX.Collision |
public SinglePoleBalancingWorld ( float trackLength, float initialPoleAngle ) : Box2DX.Collision | ||
trackLength | float | |
initialPoleAngle | float | |
리턴 | Box2DX.Collision |