Skip to content

BodyType

const BodyType: 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).

readonly Dynamic: 0

readonly Fixed: 1

readonly Kinematic: 2