character still moving after using disable input node?
hoping someone can help with this problem I've had for a few days now, I'm not really a coder, i'm more of a model designer but the team i work with is small and requires us to do multiple jobs and I've seemed to pick blueprint up better than the others, In our game we have a power up type actor that allows you to swap out part of your character when entering the collision and hitting a key to activate and bring up the menu to do so. the menu uses a 2d capture component to see the model change in real time so we are unable to use the set game pause node as this won't update the model until setting the game unpaused. We have tried to disable input when ever our in menu boolean is ticked, and then when its not ticked enable the input again. which works fine if you stop moving before activating the menu, but... if you are moving and activate the menu the keyboard is locked out due to the disable input (which is what we want) but the character is still moving in the direction it was when the menu was activated. we tried using the node 'stop moving immediately' but still the character keeps moving in the same direction it was when the menu was activated. the snippets provided are being powered by the event tick in the player controller, the in menu bool is also a player controller variable, that's being used by the menu and power up. the power up blueprint changes the bool to true when activated and the menu blueprint changes it back to false when exiting. any help on fixing this problem would be greatly appreciated. knowing my luck it will probably be something stupid i have overlooked.
asked Nov 11 '18 at 04:23 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here