The Torque does not work


how can you help me fix the rotation or torque mistake?

Hi,

First of all, the error needs to be fixed. Does the file name match the class name inside the file? For example, is the PlayerController class inside the PlayerController.cs file? Spaces in names are invalid.

I hope this helped. :slight_smile:


See also:

if u want to push A or D to do the same with the arows trie this
image

Your Script Name is ‘Player Controller’ but your class name is ‘PlayerController’ rename either or and it will fix the issue. Its trying to find the ‘Player Controller’ class but you don’t have one.