BodyType
constBodyType:object
Dynamic bodies are moved by physics. Fixed ones never move. Kinematic ones are moved by the game: set their
Position (and Rotation) in a fixed system and physics follows, pushing and carrying dynamic bodies
(moving platforms, doors, elevators).
Type Declaration
Section titled “Type Declaration”Dynamic
Section titled “Dynamic”
readonlyDynamic:0
readonlyFixed:1
Kinematic
Section titled “Kinematic”
readonlyKinematic:2
