Scripting API
Scripting API
BodyType2D
Enum in Abyss.Physics2D, from Abyss.Physics2D.
How a body moves: Rigidbody2D.Type.
public enum BodyType2DValues
| Name | Value | Description |
|---|---|---|
Dynamic | 0 | Moved by gravity, by what it meets and by forces. |
Kinematic | 1 | Moved by its velocity alone, as code sets it; pushes what is dynamic and is not pushed. |
Static | 2 | Not moved by physics at all: ground and walls. |
