enum
Eagle::Physics2D::BodyType
Overview
How a body moves: Static never moves, Kinematic is moved by code, and Dynamic
is moved by the simulation.
Defined in:
eagle/physics/body2d.crEnum Members
-
Static =
0 -
Never moves: floors and walls.
-
Kinematic =
1 -
Moved by your code, pushes dynamic bodies, ignores forces.
-
Dynamic =
2 -
Moved by the simulation: gravity, collisions and forces.
Instance Method Summary
-
#dynamic?
Returns
trueif this enum value equalsDynamic -
#kinematic?
Returns
trueif this enum value equalsKinematic -
#static?
Returns
trueif this enum value equalsStatic