Linked game control: "move"
Posted: Fri Aug 14, 2026 9:20 pm
There is no linked game control for when a player moves their character with an analog stick. This leaves the only possible way to check if a player starts moving being defines.events.on_player_changed_position, which is less performant than a single event that runs when the player starts walking, as is possible for keyboard users.
This feature would allow me to remove the following code event handler, which runs whenever a player changes their position, then only updates the character's walking state and step frequency if the player is currently using a controller. https://github.com/nicholasgower/planet ... s.lua#L143
This feature would allow me to remove the following code event handler, which runs whenever a player changes their position, then only updates the character's walking state and step frequency if the player is currently using a controller. https://github.com/nicholasgower/planet ... s.lua#L143