Last active
August 29, 2015 14:23
-
-
Save sephirot47/d5c579386b8975da3ac5 to your computer and use it in GitHub Desktop.
UE4 Bind function to Axis Input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Input name //Function to handle the input | |
this->InputComponent->BindAxis("MoveForward", this, &UMyActor::HandleVerticalAxis); | |
void UMyActor::HandleVerticalAxis(float v) | |
{ | |
//v is the float value for the input | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment