I am trying to do the locomotion tutorial. but im having problems.
I have added a cube, the hero. And then I added the character controler componeny. Then I add the NormalCharacterMotor script and then the PlatformCharacterController) script to the character. When I hit the play button i Get error.
Assets/NormalCharacterMotor.cs(5,37): error CS0246: The type or namespace name `CharacterMotor' could not be found. Are you missing a using directive or an assembly reference?
Locomotion is quite finicky about where you place the scripts. Make sure you don't place it inside another folder other than the project's root 'assets' folder, or else you'll get that error.
I just ran into what may be the same issue. Apparently the MotorController.js script MUST reside in some subfolder of the “Standard Assets” folder.
I don’t know why this must be. But in my tests if it’s anywhere else I get the same error posted by Klingos.