Questions tagged [input]
Input is data provided to a game via player interaction (through the mouse, keyboard, gamepad, et cetera).
653 questions
2
votes
1
answer
91
views
Can't Get Unity New Input System To Work
For context I am very much a beginner.
I have been trying to get the player to move using Unity's new Input System following this tutorial. It's only a year old and others in the comments seemed to ...
1
vote
0
answers
124
views
Correctly handling input in case of frame drop
My game loop looks roughly like this:
...
0
votes
0
answers
78
views
0
votes
1
answer
145
views
Fixing the player movement with SDL2
Whenever I create a project with SDL2, I always encounter the same issue: when I hold down a key (for example, W for upward movement), it moves on the first frame, doesn’t move on the second frame, ...
0
votes
0
answers
60
views
How to code marking dead stones in Go board game. Getting user input outside of update
This is a follow-up question to coding capturing in Go. I have that successfully working. I am pretty sure that I am not reposting, this is a completely different question I have it just happens to be ...
0
votes
0
answers
77
views
Struggling with MS GameInput
I come back to this little program periodically but it's never worked.
...
0
votes
1
answer
123
views
Null reference exception when accessing ActionMap stored in a singleton
I'm a beginner developer and I'm currently working on a 3D game project with a third person view.
When I implemented my first ActionMap into my character controller,...
0
votes
1
answer
153
views
How to control the order of _input_event and _input?
Suppose I have these two classes
...
1
vote
1
answer
209
views
Translating Meta's .haptics file frequency and amplitude to Unity's left and right motor strength
Meta has an application called Meta Haptics Studio that allows you to create detailed haptic timeseries data. It outputs this data in the following format as amplitude and frequency information:
...
1
vote
0
answers
200
views
How to lock the cursor in its current position in Unity?
I want to implement a panning system, and people said to me that the cursor should be locked in place during the panning.
However in Unity all I could find is setting the ...
0
votes
0
answers
85
views
GameInput::GetCurrentReading error
I finally created an account. Ive started coding MS GameInput, and have a problem retrieving keystrokes. I think I have a linking error but cant be sure(i just started codng again after 15 years. ...
0
votes
0
answers
187
views
How to control one Unreal character with two controllers?
I'm trying to make a proof of concept game that allows the character to be able to be controlled by both players at once: the first player controls movement while the second controls camera and ...
1
vote
0
answers
55
views
Unity Button ID is -1
I have a UI Document on a gameobject. while hovering on a UI button when i press mouse 4 on my logitech g502 it gives me an error. I did this by accident when i pressed mouse 4 instead of left ...
1
vote
1
answer
962
views
How to Decide Between Using _input Events and _process Polling for Input Handling in Games
I am struggling to decide whether to handle input using events like _input or by checking input every frame, as in _process. I ...
1
vote
1
answer
146
views
How to prioritize and display correct UI for multiple actions triggered by the same input?
In my Unity game, the "Interact" action is used for multiple tasks like opening doors and grabbing/dropping objects. However, there are scenarios where the player has an object in their ...