Skip to content

Instantly share code, notes, and snippets.

@sephirot47
Last active August 29, 2015 14:23
Show Gist options
  • Save sephirot47/d5c579386b8975da3ac5 to your computer and use it in GitHub Desktop.
Save sephirot47/d5c579386b8975da3ac5 to your computer and use it in GitHub Desktop.
UE4 Bind function to Axis Input
//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