Where are unitys scripts stored?

The wheel collider component doesn’t cut the mustard for what I want to achieve so I am creating my own wheel collier script, however there are some components of the wheel collier script i want to keep such as the ray collision acting as a collider and I am not sure how this is done and could take me ages to work this out. So I want to be able to look at the wheel collider script so I can take the parts from it that I need. However where are the default unity scripts stored as I cant find them.

Does anyone know how to get their hand on them.

thanks Ken

Components are not scripts. There are part of the engine. The WheelCollider class is merely an interface to code written inside the engine (which implementation is almost completely in C++ and hidden).

You cannot extract part of a component. If WheelCollider does not fit your needs, you will have to rewrite the whole thing. As you pointed out, this can take a while and is prone to bugs that will be difficult to solve.

I suggest you try to learn more about WheelCollider and find a way to make it match your needs. WheelCollider does offer a lot of variables that can be played with. And you can also add constraints using the other Physics components.

ProjectSaveDirectory\Assets\SamePathAsInEditor

Eg. In my project “Mapmaker” saved on the H: drive in “Unity Projects”, the Character Controller Scripts from Standard Assets are in

H:\Unity Projects\MapMaker\Assets\Standard Assets\Character Controllers\Sources\Scripts

my asset store items are in my c/users/roaming or local :stuck_out_tongue: