enter – Find out how to management one Unreal character with two controllers?


I am attempting to make a proof of idea recreation that enables the character to have the ability to be managed by each gamers directly: the primary participant controls motion whereas the second controls digital camera and capturing.

I’ve it working with keyboard and mouse and gamepad with one digital camera and one character. I need the flexibility to manage the character with two gamepads, and that’s the place I’m working into issues. I can’t set the gamepads to separate channels to distinguish the controls between the 2. How would I am going about this?

If I set my secondary enter mapping context to 1 as a substitute of 0 it appears for one more participant, however I solely need the one. The controls additionally solely search for names for sure gamepads, so I am unable to differentiate it there both: it finds it as Generic.

Any information on the topic can be appreciated. All search outcomes I might discover ended up with attempting to copy it over a community, however I’m doing all of it on one display, like a sofa co op model recreation.

I’m utilizing Unreal model 5.4.4 in the mean time with blueprints. It’s a third particular person recreation with solely the one character. Thus far I have been in a position to have enter mapping context for controls 1 and a pair of by utilizing keyboard for controller 1 and gamepad for controller 2. This works by splitting the controls between the 2. In my character controller blueprint I am then calling the Player1Look and setting that up. Similar for Player2Look if the second participant is enjoying because the digital camera controller as a substitute. The identical goes for all different inputs, however within the enter mapping context, each are being directed in direction of controller 0. Which I can’t get it to work some other method on the time.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles