Quantcast
Channel: Questions in topic: "not moving"
Viewing all articles
Browse latest Browse all 11

Unity Car problem

$
0
0
Hi, I'm new to unity and I have followed a couple of things to get an car up and running.. I encountered an problem: I have an first person player and a car both works both have an camera. When I press F I get in my car when I press R I will get out of it.. Only thing is the car just won't move.. I tried 2 different scripts I also added rigidbody and wheelcolliders for all 4 wheels. But it just won't move I also don't seem to get an error in the logs about any script problem.. One script I tried actually showed the speed and brakes etc.. I started the game get in the car and I pressed the designated keys and I noticed on the right side it changed forward engine power braking steering etc. to other values when I pressed those buttons.. But it still didn't moved.. Any thing I might have missed or didn't see? I would be very grateful if someone could point out what I did wrong.. I uploaded the car etc. with what I mean here: http://sharpbite.org/gameproblem/112forces%20web.html if needed I can also upload the project folder.. I really don't know what to do else.. Scripts that I use and tried can be found here: http://sharpbite.org/gameproblem/PlayerCar_Script.html - one of the driving scripts I tried http://sharpbite.org/gameproblem/EnterExitVehicle.html - for entering DOES WORK http://sharpbite.org/gameproblem/drive.html - another driving script I tried I really hope someone can help me and know what I did wrong. -Brian

Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>