-
can u help me? |
Beta Was this translation helpful? Give feedback.
Answered by
GazziFX
Jun 8, 2023
Replies: 2 comments 2 replies
-
You can track keys bound as Plugins/Mods keys with callback PlayerInput.onPluginKeyTick += onPluginKeyTick; and some other keys like movement or lean with player.input.keys[index] P.S. It is recommended to read keys array from onPluginKeyTick to be in sync with inputs, since they can be received with variable delay |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
crys1337
-
Side note, this is called 5 times per fixed update which may cause unintended behavior. If you want to just check once check if the key argument == 0 before running your logic. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can track keys bound as Plugins/Mods keys with callback
and some other keys like movement or lean with
P.S. It is recommended to read keys array from onPluginKeyTick to be in sync with inputs, since they can be received with variable delay