Car Tutorial - Trying to isolate the prefab

Ok so I spent about ten minutes trying to get the car from Unity’s car tutorial isolated so that I could export it as a package with all of it’s dependencies. When I try to import that package into another project, Unity complains about skidmarks and such. Moreover, the scripts are on the prefabs (Lambo, Peugeot, basic car), and all the variables are exposed in the Inspector when I select the prefab in the Project pane. But if I drag that prefab into the Hierarchy pane, the scripts are still attached, but none of the variables are exposed…

What to do? I really like this physics model, and I’d love to use it. Changing out the mesh, I will obviously do, but the physics model is something I am not skilled enough to create on my own, be it that physics model or any other…

PLEASE HELP!!
thanks.

#bump

I’d like to know as well how to create a package from that car! Anyone any idea?

mediafire, rapidshare, megaupload, etc

I tried creating a package from the car tutorial, but to the same result as lorenzo… All dependancies are there, but the included prefab doesn’t seem to work in other projects; no scripts attached, just mono scripts… And no model… Is it even possible to use a prefab in a different project?

Thanks for that, I got a Lot further into correctly exporting a Car package from the tutorial… I don’t got it 100%, but it drives correctly:

Here’s a link: Main Car from Car Tutorial

It’s the standard car from the tutorial. After importing, pull the Car prefab into your scene or hierarchy, and attach the car.js script to your main camera (set the target to car)…

2 things with this package:

*)I get the error “No skidmarks objects found. Skidmarks will not be drawn”. I’ve double checked and all skidmark files I could find in the tutorial are there…

*) The brake light’s don’t work. No error’'s, and Brake Lights do have the correct target…

Anybody any idea’s on why these two things aren’t working? Let’s make that packege 100% working order, so nobody needs to digg for a day or so, just to import a car into their project…

Ok,yeah i saw some nice scripts on that GMC. Could you perhaps make a proper working asset of one of those, amd put it on mediafire? I can’t seem to figure those skidmarks on the basic car…

Thanks in advance!

That works perfectly! Thanks man

Hello,

I have a problem, how to put brake lights on alternatephysics?:face_with_spiral_eyes:

Tnks.

The post with the answer that everyone is referring to has been deleted? The fuq? I’m having problems exporting a prefab of a android camera rig to use in my other projects and found pointers to this thread. I even remember this thread the last time I had to fgure this out. So, great, the answer that everyone has been referencing on this subject for 2 years now is gone.

1 Like