The Get node for the float value of Custom Axis Mappings only returns 0.0 when called from Blueprints other than the Controller. Input from the player does not affect the value.
Note: this works as expected when used in the Controller, but Get Controller > Get CustomAxisMapping always returns 0.0 regardless of player input. The InputAxis Event, however, works as expected in all BPs.
1. Launch: UE4Editor.exe
2. Create a new empty project
3. Create a new Axis Mapping
4. Assign the Left key to the new mapping with a scale of 1.0
5. Create a new Character Blueprint
6. Get Player Controller (Player Index 0)
7. Get the custom Axis Mapping from the Controller
8. Print this float value on Event Tick
9. Create a new Game Mode
10. Make the new Character Blueprint the default
11. PIE
12. Press the Left key
Result:
The custom axis mapping's value remains at 0.0 when the Left key is pressed.
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Installer 4.10 failed with error code R-1603
Why does the REMOVE method of map container remove elements have memory leaks?
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - Gameplay - Input |
---|---|
Affects Versions | 4.6, 4.7 |
Target Fix | 4.9 |
Fix Commit | 2615082 |
---|
Created | Dec 3, 2014 |
---|---|
Resolved | Jul 13, 2015 |
Updated | Apr 27, 2018 |