Controllers
- ..
- .metadata17 B
- README.md899 B
- preset.yaml651 B
README.md
floaty
In a world that installs the Controllers library (
world.installLibrary({ world = "034d26cf-dc3d-4123-abad-3944f97c6a60", as = "controllers" })), every package name on this page is written with@controllers::in front of it, andasset.list("component")lists each one under that name.
A light platformer CharacterController: the walk speeds up at 25 m/s² and slides a little into a stop at 15 m/s² braking; a full jump rises 2.5 m with its top 0.6 s after take-off, let go at take-off it rises 0.3 m, so a quick tap, held a few frames into a jump this fast, is a hop well under a metre, and it drifts down at 0.6 times gravity, no faster than 6 m/s, steering hard in the air.
preset.apply("characterController.presets.floaty", { entity = id, component = "CharacterController" })
The CharacterController README's "Movement feel" section states what each field does.