Hi all,
I'm looking for how I would go about hijacking the player's input to prevent the inputs from actually moving the player. I'm thinking it would look something like this:
Does anyone have any experience with something like this?
I'm looking for how I would go about hijacking the player's input to prevent the inputs from actually moving the player. I'm thinking it would look something like this:
Code:
if (overridePlayerMovement)
{
// Do something with the movement
}
else
{
base.PlayerMovement();
}
Does anyone have any experience with something like this?