Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by anseyder · Mar 18, 2020 at 12:47 AM · car gamestandard assetsreverselogitech

How can I stop the standard car asset auto reversing with Logitech steering wheel

Hi All,

I've had a bit of a search but not found the answer I am after...

I have successfully got the logitech steering wheel installed and working with the standard car asset. I can drive and steer and all the rest which is great.

My issue is that the car starts the game automatically driving in reverse, and it auto breaks. Obviously it is taking NO input as the break input but I am not actually sure what to edit to fix this. If I press nothing the car reverses, what should happen is that when I break the car stops and then reverses if I keep breaking. Before installing the steering wheel the car would not reverse unless I used the break key (s).

I am not much of a programmer and never made a car game before, so any assistance on what to edit would be greatly appreciated.

I am using Unity 2019.2.4 and the old Input system.

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image anseyder · Mar 18, 2020 at 01:05 AM 0
Share

So I did a bit of a debug, and it appears that without pressing ANYTHING unity is reading a negative value in the "vertical" axis. Any ideas on where or how I can find how or why that is happening would be appreciated.

avatar image anseyder · Mar 18, 2020 at 02:32 AM 0
Share

alt text

so when I run the logitech scene before touching anything all axis are showing "0" across the board. however, after I move the steering wheel the z position changes (this is also controlled by the peddles): alt text After that, the peddles move the z-axis position to -negative values. The break peddle is affecting the z-axis rotation which has the same default value (32767) and reduces when the peddle is pressed. So... I need to figure out how to align this input with the standard car controller that comes with unity, the accelerator works find, but for some reason it reads the break default position as -1 in the "vertical" axis as a default position.

no-input-yet.jpg (50.8 kB)
steering-moved.jpg (51.7 kB)
avatar image slane7 · Jun 16, 2020 at 03:49 PM 0
Share

Having same issue, if you find solution please let me know

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by wonderwall11 · Jun 20, 2020 at 03:29 AM

Hi I have been suffering the exact same issue with my G29. Which Logitech simulation set are you using?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by blagwedge · Aug 17, 2020 at 07:54 AM

Hey @anseyder, i'm having this problem with the cars in the Vehicle Tools project, and a Logitech steering wheel. Did you guys get anywhere with this?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by blagwedge · Aug 15, 2020 at 12:03 PM

I might have figured this out, i'm using the new input system, and i was reading the values in all wrong. I tried various settings in the input action window, but could not figure it out. Then i looked at the Input Debugger, to see what was actually coming out of the steering wheel / pedals. The pedal changed three things:

y Stick Up stick (the "y" portion of it, anyway)

I created a new 2D Vector InputAction, mapped the accelerator to up, mapped the brake to down, and mapped stick left and right. I had to change my code, and the way it read the values into my code, and also had to do some normalising. But my car doesnt reverse automatically any more, or when i steer left or right.

I hope this helps, i'm somewhat of a beginner at all this.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

125 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Vehicle automatically accelerates with any input on Logitech G29 1 Answer

Drive car with Pedals 0 Answers

I Use Logitech G29 in unity 5.5.1 but cannot give Input of Shifting gear. 1 Answer

Logitech Gamepad F310 button map? 1 Answer

Implosion particle system 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges