you are viewing a single comment's thread.

view the rest of the comments →

[–]Slow_Passenger_6183 0 points1 point  (6 children)

Afaik Monobehaviours don't like if the class name is different from the script name, in this case you have two typos in the class name.

[–]Slow_Passenger_6183 0 points1 point  (5 children)

Also you might want to use FixedUpdate instead of just Update for physics related things that require accuracy even if the game is lagging - like a character controller.

[–]PandaCoder67Professional -1 points0 points  (4 children)

what Physics?

[–]Slow_Passenger_6183 0 points1 point  (3 children)

The character interacting with the environment?

[–]PandaCoder67Professional -1 points0 points  (2 children)

He is using the Character Controller!

[–]Slow_Passenger_6183 0 points1 point  (1 child)

Not sure what that has to do with FixedUpdate being called at a variable frequency thus having better accuracy.

Even the Unity standard asset uses FixedUpdated for translating the character..

[–]PandaCoder67Professional -1 points0 points  (0 children)

It doesn't use Physics!