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
101
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
127
views
Correctly handling input in case of frame drop
My game loop looks roughly like this:
...
0
votes
0
answers
79
views
0
votes
1
answer
155
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
64
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
82
views
Struggling with MS GameInput
I come back to this little program periodically but it's never worked.
...
0
votes
1
answer
125
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
161
views
How to control the order of _input_event and _input?
Suppose I have these two classes
...
1
vote
1
answer
212
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
207
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
1
answer
136
views
GameInput::GetCurrentReading error
I finally created an account. I've started coding MS GameInput, and have a problem retrieving keystrokes. I think I have a linking error but can't be sure I just ...
0
votes
0
answers
205
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
1k
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
151
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 ...