Allowing the Client to Move a Character Locally

Hey,

I’m trying to allow the client to move a character that isn’t owned by them, specifically with AddMoveInput. Nothing happens when the client runs it though, so I’ve made a subclass of the CharacterMovementComponent in the hopes I can override or tweak things to allow this to happen.

I’ve been banging my head digging through the source code of the component and a bunch of related classes, but I canNOT figure out what’s actually blocking the move. I think its related to the networked LocalRole or RemoteRole, but where it specifically blocks what I’m after is a complete mystery to me. I’ve even tried changing these roles directly, but I probably did it wrong because it didn’t seem to change anything (it likely would’ve have consequences elsewhere anyways). I’m definitely in over my head on this, so any help would be really appreciated.

Thanks

And if you’re wondering why I’m doing this: its for NPCs with really low Net Update Frequencies, so I can have a lot of them without lagging the network, but of course that makes their movement laggy for clients. So I’ve made my own basic path follower that can also run clientside, where clientside movement can fill in the gaps between net updates. Only problem is, the client can’t actually make them move…