- Home /
Strange behavior with the Unity car?
This gif shows what's happening: https://gyazo.com/1d4ab1e486f77b262c0b1823f3903c4d
I get out of the car and it keeps driving, seeming to be in random motions..? I'm using Unity's standard car asset and a script I made to enter/exit the car: MY enter script: https://pastebin.com/3QiFZjqV
Unity's Car Controller script: https://pastebin.com/UqiE0e0y
BONUS: How can I make the hud update? I think it has something to do with the car's camera not getting canvas updates but how do I fix that?
Thank you, whoever helps out.
[1]: https://gyazo.com/1d4ab1e486f77b262c0b1823f3903c4d
pretty much you're disabling the carUserControl script and the CarController scripts, it just keeps going. try leaving them enabled, just change the carusercontrol script so ins$$anonymous$$d of just turning off the script use a bool or something so it knows when you are in/out of the car and doesn't run the input code.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Car Movment Script not fully working!!!!!!! 0 Answers
Collisions causing Rigidbody to go Haywire and move randomly. 1 Answer
Issues Making Character Move With Rigidbody 1 Answer
How to limit the forces applied to an object to just forward, left, and right? 0 Answers