BodyMotion enum
public enum BodyMotion How a body moves: never, only when it’s told to, or under the world’s forces. It’s set in BodySpec.Motion and fixed once the body is added.
- Assembly
- EvilEngine.Api
- Commit
- 4ff877b1
public enum BodyMotion How a body moves: never, only when it’s told to, or under the world’s forces. It’s set in BodySpec.Motion and fixed once the body is added.
Static = 0 Never moves. Other bodies collide with it. The map’s own colliders are static bodies.
Kinematic = 1 Moves only where you put it, through Position and Orientation. Other bodies collide with it, but nothing pushes it, and gravity doesn’t touch it.
Dynamic = 2 Simulated: it falls, collides, rests, sleeps and floats. Its collision can’t hold a triangle mesh.