JustInvoke / Randomation-Vehicle-Physics

Vehicle physics system for the Unity engine.
https://justinvoke.com/game-assets/#randomation-vehicle-physics
865 stars 184 forks source link

A game object can only be in one layer error? #38

Closed Renato404 closed 5 years ago

Renato404 commented 5 years ago

From console log:

A game object can only be in one layer. The layer needs to be in the range [0...31] UnityEngine.GameObject:set_layer(Int32) RVP.Wheel:Start() (at Assets/RVPassets/Scripts/Drivetrain/Wheel.cs:268)

Renato404 commented 5 years ago

Layer needs to be added manualy: Project Settings -> Tags and Layers