Hi guys!
I’ve got a question. I worked in Unity engine and there for Input i musted to type in script
If (Input.GetKey(KeyCode.A))
{
}
For adding an input to my game (if pressed a then move left…) How does it work in UE 4?
Thanks
Hi guys!
I’ve got a question. I worked in Unity engine and there for Input i musted to type in script
If (Input.GetKey(KeyCode.A))
{
}
For adding an input to my game (if pressed a then move left…) How does it work in UE 4?
Thanks
Try this First Person Shooter C++.
Check out the “WASD Movement” section
Check the official documentation about input: Input doc
Also you could check this too: Axis and actions mapping
Finally some examples: Exemples
A Brief resume would be: you define functions and bind them to keys (via delegates) in functions such as SetupPlayerInput, etc…
If you need some explanations, don’t hesitate I will elaborate. Welcome to UE4 !!