Mouse movement spike when locking
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
1) Open project and console besides
2) Move mouse to left, top corner of window and take hand away
3) Check console, movement vec = (0, 0, 0, 1)
4) Press space
5) See mouse movement vec spike (something like (-680, -407, 0, 1)).
Nerveless I'm not moving the mouse (when pressing space), it registers the movement it been taken to center?
Anyway, this is a problem when shift mouse lock in-game on/off, as these spikes can cause mouse controlled object to twist madly (those values are huge).
[untitled.zip](https://github.com/armory3d/armory/files/2923273/untitled.zip)
OS Ubuntu Bionic, arm 0.6 UTD,
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the attached untitled.zip project and reproduce the issue on Ubuntu Bionic using the listed steps, watching the console's mouse movement vector. Trace the mouse-lock transition triggered by pressing space and verify that toggling mouse lock without physical movement no longer produces a large movement spike.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100