JaydenMaalouf / JoystickPlugin

Native Input Joystick Plugin for Unreal Engine 4/5
MIT License
30 stars 6 forks source link

joystick values randomly doubling/tripling during runtime #42

Closed MustangEnthusiast51 closed 1 year ago

MustangEnthusiast51 commented 1 year ago

image

it'll sometimes triple in the ui or non performance intensive scenes, so I think it's framerate based.

After a bit more testing, I think it happens when the game updates faster than the plugin, so it adds the same value twice or 3 times since the plugin hasn't had time to update. when the game's at a lower fps it works fine.

MustangEnthusiast51 commented 1 year ago

I apologize, this was from me being dumb XD

I had the player controller set to tick at 20 fps, which caused the issue. when it ticks at the same rate as the game, it works perfectly fine, I love this plugin!