Hello everyone! I realized a BP to prevent char’s movement while it’s posing. After the keyb event to trigger the pose, I pulled out “disable movement” and then in “On blend out” (Play Montage) , I used “Set Movement Mode” to reset the mov. And it’s working.
So, my question is : Is there a better way to do the same thing, in terms of efficiency? Should I use macros? Thank y’all!
What’s exactly do you think is inefficient about the method you’ve adopted?
Thank you for answering @Everynone ! I was just wondering if there was a way to do the same thing but which would have less impact on the hardware and therefore on the fluidity of the project. Because I’m not expert enough to immediately understand the impact of my visual coding.
@Everynone …and above all because it gives me the feeling that there is something too much in the BP, because I had to insert these two functions in every keyboard event.
If you’re reusing the same “exact” code a lot, create a function.
Why is it needed on every keyboard event (Input)?
Thank you so much for answering @Rev0verDrive ! It’s needed on every keyb event in this case, because I’ve many different poses the player can choose during the game and all of them have the same “condition”. You can’t move while the anim montage is playing.
Collapsing nodes into it, right? I called each of them differently.