api
The one interface to pushKit: `local PK = require("pushKit.api")`. `PK.addPushable(e, opts)` makes a body pushable (adding a collider and a dynamic physics body when it has none), `PK.addPusher(e)` / `PK.removePusher(e)` let non-player characters push, `PK.pushers()` lists everyt…
pushKit.api
The one interface to pushKit: local PK = require("pushKit.api"). PK.addPushable(e, opts) makes a body pushable (adding a collider and a dynamic physics body when it has none), PK.addPusher(e) / PK.removePusher(e) let non-player characters push, PK.pushers() lists everything that pushes, PK.shove(e, velocity) pushes from code, PK.isAuthority(e) says whether this peer moves that body. Also PK.VERSION and PK.PUSHABLE (the component name).
Scoped to this part · feeds back into the world's score.