Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.0f1

2018.4.0f1

2019.2.0a1

2019.2.13f1

2019.3.0a1

2020.1.0a1

Issue ID

1201112

Regression

No

Object snaps to four axes when it moves based on joystick input

Input

-

Repro steps:
1. Open the attached project "case-1201112_repro.zip"
2. Open Assets > Scenes > SampleScene
3. Plug in a controller with a joystick
4. Enter Play Mode
5. Slowly rotate the left joystick

Expected results: the object, following joystick's movements, moves in a circle
Actual results: joystick snaps to -1 and 1 both vertically and horizontally

Reproducible with: 2017.4.0f1, 2017.4.35f1, 2018.4.0f1, 2018.4.15f1, 2019.2.0a1, 2019.2.17f1, 2019.3.0a1, 2019.3.0f4, 2020.1.0a1, 2020.1.0a18

Notes:
*Tested with Xbox One and Nintendo Switch controllers
*Dead zones are set to 0, Sensitivity is set to 1, Snap is disabled

  1. Resolution Note:

    The Input package includes a sample on how you can implement this behaviour. The Visualizers sample, InputControlVisualizer script, based on which the joystick moves in a circle instead of snapping to the four axes.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.