Unity Tip #1 - Input

preview_player
Показать описание
Master Unreal Engine And Get Hired In A Game Studio

Master Unity And Get Hired In A Game Studio
Рекомендации по теме
Комментарии
Автор

😅
beginning : don't put input code in fixed update
end: always put input code in fixed update

I know it's an error but still quite funny

reactga
Автор

Wow, you actually helped me a lot. When I pressed W foe a very short time, it did nothing. Thank you❤

janbostl
Автор

Always put the physics based calculations in the fixed update.

riteshranjan
Автор

Or just use the new input system with event binding

KingArokh
Автор

Just use the new input system to handle a lot of these problems.

AkeemKaleeb
Автор

This happened to me when I was trying to make the players wall slide when they input movement key towards the wall, it doesn't get called as soon as you input the button. Turns out this was the problem, thanks for the video

ZeroCrits
Автор

Yo, what? Did you even check your video before uploading?

TeachMeSam
Автор

You're saying to put in Fixed Update instead of Update at the end of the video dude

kylerhirohito
Автор

Jup that was me .... didnt see it and was raging why doesn't it work ...then saw it when was going tghru code line by line spoted that it vas fixed update not update ...

anidragv