I am currently trying to implement xbox compatibility to this 2d shooter im working on for a commission, However, I am testing it all using a ps4 controller connected to my PC. there’s a few errors
Jump request doesn’t work when i press the jump button on the console. But as soon as i switch over to keyboard, it starts working. The character doesn’t jump either on xbox.
Second problem I have is, Humanoid MoveDirection is not being updated, Move Direction is always equal to Vector3.new(0,0,0)
Again, Everything works perfectly fine on PC and Mobile. Xbox is the only problem im having right now.
Tell me if you need any code samples and i’ll send them here. I just need any articles that can tell me if im messing up somehow.
(When i test, I have all mouse, keyboard and controller connected. )
You may be facing a bug that is suited for Platform Feedback if you cannot find a way to fix your problem.
You can try binding a function to the input button on Xbox that is for jumping and for MoveDirection, I am unsure either with what you need it for but maybe you could calculate it via PlayerAction input enums, I think the input object’s position could tell you, not sure though and untested.
Can i use contextaction to bind actions to say equip etc? I haven’t been able to find anything yet on it.
Also, im unsure if it is a bug, I replicated the conditions on other baseplates and it worked. Are there any articles on any known way to disable controls for xbox?