Scripting API

Scripting API

BodyType2D

Enum in Abyss.Physics2D, from Abyss.Physics2D.

How a body moves: Rigidbody2D.Type.

public enum BodyType2D

Values

NameValueDescription
Dynamic0Moved by gravity, by what it meets and by forces.
Kinematic1Moved by its velocity alone, as code sets it; pushes what is dynamic and is not pushed.
Static2Not moved by physics at all: ground and walls.