Relative Content

Tag Archive for visual-studiounity-game-engine

Wheels spninning very fast but vhiecle not moving

I am trying to make a small cannon game in unity. I follow wheelcollider’s documentation and setup wheelcollider with radius 3. When I accelerate wheels are spinning very fast by my cannon is not moving from it place.

Unity script cannot be assigned to gameobject, how can it be fixed?

My class name and script name matches but I cannot drag the script to the inspector. it is throwing the error “the associated script cannot be loaded, please fix any compile errors and assign a valid script”. There are no errors in my console. When I tried to add via “Add component” since dragging did not work, the script name did not even show up in the inspector…