- Home /
Third Person Controller - Can't Move?
Hi! I'm trying to set up the third person controller with a few custom models, and I can't seem to move at all. I can rotate and that's pretty much it.
I removed all of the Animator components from the third person controller and scripts because they were set up for the default models. This shouldn't be affecting the movement though.
Here's how things are set up:
Also, I'm not getting any errors in the console when running the game.
Edit: another glitch I'm getting is when I press 'S' to go backwards (even though it won't move) the camera just rotates to face '0' then shakes profusely. This is another glitch I'm getting, but I'd prefer to get the forward movement fixed first.
Re:Edit: the issue with the camera shaking when trying to go backwards is because there's something going wrong with the camera portion of the thirdpersoncontroller that's causing it to not properly rotate when the player changes direction. I'll figure that one out later.
Doodayer can you please post that script for me please i really need it for my game
Answer by knudsjef · Nov 03, 2015 at 04:16 AM
I found it was the easiest to use the first person camera and just move it back a certain distance that you would like.
Are you talking about the first person controller? Because I also tried that, however it seems that every time I run the game, the camera zooms back into place in the character, then starts acting weird (i.e. moving without player, launching player off screen)
any solution to that? Or did you mean in general just the camera?
Okay I got things working. This wasn't initially the route I wanted to take, but it works none the less! :p
Thank you so much! I never thought of that! I was having trouble as well with it!
Answer by ZPiDER · Mar 30 at 07:35 PM
i had the same problem, it is because i was using my own camera and did not have the "MainCamera" tag set on it.
Answer by PresidentTree · Mar 30 at 08:09 PM
If you are using the Character Controller, I'd recommend watching this video and the ones following it based on character movement: https://www.youtube.com/watch?v=t6e2MvEG0Tc&list=PLx7AKmQhxJFaj0IcdjGJzIq5KwrIfB1m9∈dex=4 Do you want to jump or not? I have the scripts from the videos, but it is coded a little differently depending on if you want the character to jump.