Problem with ThirdPerson Controller

Hi everyone,

I’m Sam and I’m trying to develop a simple level to perform a simple videogame.

I bought an gorilla animation and I want to move him around.

I created a simple terrain which only contains grass sprite and added my gorilla character. I followed the steps:

  • Take the model from the root folder.
  • Put on the map and put a camera behind him.
  • Add thirdpersoncontroller and thirdpersoncamera and configure with all the parameters like:

http://img31.imageshack.us/img31/1707/cqj9.png

and this is the result:

As you can see I have all the properties setted fine but it goes to the 0,0,0 position and I can’t do anything with him.

PS: If I go to prefab folder instead root folder and I add for example the first one called “gorilla” and do the same process I obtain the error:

The character you would like to control doesn’t have animations. Moving her might look weird. UnityEngine.Debug:Log(Object)

What’s wrong?

Thank you,

Regards!

Try this:

#1 first place the 3rd person character controller somewhere where he has enough space to move,not in the edge of the terrain.
#2 the character controller will come with its own 3d model graphics. Delete the default 3d model.
#3 add the gorilla model on the scene
#4 on the project window drag and drop the gorilla model under the 3rd person controller
#5 click on the gorila model and on the inspector window and reset its position
#6 hit play and try to see if it works.

Hi Stavros,

Thank you for your reply but it did not work to me. Still the same. I deleted the mecanic 3d model and all the setups that I saw.

#1 first place the 3rd person character controller somewhere where he has enough space to move,not in the edge of the terrain.

Ok I understood the third3dperson controller, the sample mecanic guy. Perfect.

#2 the character controller will come with its own 3d model graphics. Delete the default 3d model.

Ok, I deleted in hierarchical view all the subitems.

#3 add the gorilla model on the scene
Ok

#4 on the project window drag and drop the gorilla model under the 3rd person controller

Ok.So I guess you have something like.

3dperson controller.
---- Gorilla.
---------Gorilla (0)…

#5 click on the gorila model and on the inspector window and reset its position

Ok.
#6 hit play and try to see if it works.

Nop, it was failed. I have the same situation but the gorilla is rotated, like if you go on him. After the idle animation is completed the gorilla goes down. I assured that the 3dperson controller has enough Y size to not clipping with terrain.

What it is wrong with this gorilla? :frowning:

Kind Regards.

Does anyone know how to solve it?

I’m desperate

Regards.

Hi Sam

I’m a newbie, hence my proposal could be completely wrong. Anyway, I had an effect that looked a bit like yours. The issue on my side was that the position of the CharacterController was wrong. It was a bit too low (Y axis). The position of its Center made it partially go through the terrain. That caused all sorts of weird effects. As soon as I moved the CharacterController up a bit (play around with the Y axis so that the whole CharacterController is right on top or slightly above the terrain), it worked. Maybe it helps (-: