So I just finished the section but wondering if we can rebind the keys in the game? Like by default “Q”, “E”, “Space” and etc are bound already. Is there a way to say like rebind “E” to other function like open the door?
Sure, under project settings -> Input settings
Thanks for your quick answer but I might misrepresent my question :(.
What we did in the course was binding “Right Click” to grab things. However, when we tried to bind “E” to grab, it did not overwrite the default behavior which is move upward. So my question was is there a way to “overwrite” the bound behavior that set by the system?
Which video, so I can better get sweat and what was shown. But in short, yes
At the near end of lecture 122. The instructor mentioned that E is bound to something else so we should pay attention to it, but didnt say anything about the rebinding.
Defaultpawn.cpp has some default bindings that you would override.
I cant find any related .cpp files tho. Only things I can find are “DefaultPawn.h” and “FloatingPawnMovement.h”
For me on Windows, C:\Program Files\Epic Games\UE_4.25\Engine\Source\Runtime\Engine\Private\DefaultPawn.cpp
As you progress in the course you will override those, in the case of Simple Shooter you will have no default WASD movement, if memory serves me.
I see. Thank you so much!
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.