PatHightree / SpaceNavigator

SpaceNavigator driver for Unity3D
MIT License
173 stars 52 forks source link

Space Mouse 1.5.2 driver interfering with Character Controller #48

Closed aymericblok closed 2 years ago

aymericblok commented 2 years ago

When having the "Space Mouse 1.5.2" driver in my project folder, My character controller script that reads from Input,GetAxis("Horizontal") and Input,GetAxis("Vertical"), starts moving automatically when clicking Play.

When i remove the "SpaceMouse" Driver, It won't happen again!

The solution: Rename the "Horizontal" and "Vertical" input Axis in Project Settings/Input Manger to "Horizontal2" and "Vertical2" , and change the name in your character controller script.

Now both the SpaceMouse works great, and doesn't interfere with my Character Controller.

I'm not sure if you want to do something about this, as it is your old driver, but perhaps i can help someone!

cryptobabies commented 2 years ago

This workaround helps, thanks!

PatHightree commented 2 years ago

Thanks for posting a workaround for this issue. The old driver will not receive any updates, so this might indeed help people who run into this. Closing issue.