Monday, March 10, 2025
spot_img

enter – How you can management one Unreal character with two controllers?


I am making an attempt to make a proof of idea recreation that enables the character to have the ability to be managed by each gamers without delay: 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 would like the flexibility to manage the character with two gamepads, and that’s the place I’m operating 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 an alternative 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 can not 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 making an attempt to duplicate it over a community, however I’m doing all of it on one display screen, like a sofa co op type 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. To this point I have been capable of have enter mapping context for controls 1 and a couple of through the use of 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 an alternative. The identical goes for all different inputs, however within the enter mapping context, each are being directed in the direction of controller 0. Which I can’t get it to work some other means on the time.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles