Hey Everyone, just a quick question
I have a project which includes a player who has an inventory. What I want to do, is depending on the weight of the inventory, adjust the player walk speed.
What I wanted to try and find out, is would I do this in the Character BP from Input Axis Move Forward event as in the screenshot below:

Or would it be best to check and set the walk speed after the player picks up an item or drops one etc where the weight is modified.
The way in the screenshot is easiest as I only need to make one modification (which currently works), just not sure if performance is affected doing it this way. If I do the second method then it involves modifying each BP where the inventory weight is modified and is more work.
Or maybe i'm not thinking of any other solutions which someone might have.
Thanks.
I have a project which includes a player who has an inventory. What I want to do, is depending on the weight of the inventory, adjust the player walk speed.
What I wanted to try and find out, is would I do this in the Character BP from Input Axis Move Forward event as in the screenshot below:
Or would it be best to check and set the walk speed after the player picks up an item or drops one etc where the weight is modified.
The way in the screenshot is easiest as I only need to make one modification (which currently works), just not sure if performance is affected doing it this way. If I do the second method then it involves modifying each BP where the inventory weight is modified and is more work.
Or maybe i'm not thinking of any other solutions which someone might have.
Thanks.
Comment