MoveIntent
where a character wants to move, and which way it should face
Fields
5 members
Reading the Input a Character Acts On
Lifecycle: Server
The intent reports the input the character is moving with this tick, and targetYaw is an angle in radians.
Luau
game.World.System("intent_log", game.World.Query("Character"), function(q) for i = 1, q.count do local character = q.Entity[i] local intent = character:GetMoveIntent() if intent and intent.jump then print(string.format("%s jumped facing %.2f rad", character.Name, intent.targetYaw)) end endend)