- Home /
Car going backwards when pressing up. [SOLVED]
Hi!
I have an problem told in topic with my project. I'm gonna release stripped down version of it as a unitypackage so it's easier for you to check it why it does so as I don't really understand why.
Could it be the position its exported from 3d modeling software as it needs some rotating before it looks right?
Or the way I'm using wheelcolliders with empty gameobjects?
I think this is fairly simple problem, as I remember that some tutorial had a few sentences about this, but can't remember what, and I can't just figure it out even with help of google. I know this could be fixed by using positive and negative otherway around, but I wanna know why this happens with this car only and not with other models I have on full project.
Project File: [REMOVED as SOLVED]
Answer by Visual Programmer · Sep 30, 2013 at 12:09 AM
You can go into the InputManager and change the positive and negative buttons around. After that it should move forward when you press up.
Path to InputManager = Edit-->Project Settings-->Input
Update -- from comments
When modeling you need to make sure the model if facing the correct way or else it will import with an offset rotation. To do this just make sure the front of your model is facing the front viewport in the 3d modeling program.
I know this. You could do this even in the script itself, but I wanna know why this happens on this model. Not a workaround it. Added some additional info in the main post.
Ok. It's your model. You need to make sure you model it in the correct position. If you didn't, I believe you need to rotate it to the correct the position then freeze the rotations on it.
And what would be this correct position to model? I'm not a 3d modeler really.
Your answer
Follow this Question
Related Questions
2D rotation and moving forward 2 Answers
How to make car land on 4 wheels and maintain speed? 0 Answers
How to set an "hard" ragdoll 0 Answers
Trouble with car flipping on collision 1 Answer
Choose Car 1 Answer