Hi everyone, I’m new to this Unity3d but feels it’s is great. There’s so much thing to learn thee.
Could anyone help me in this problem:
I open Island Demo project, run island.unity and create a character, then add Character Controller and ThirdPersonController to it. The charcater then can’t move one bit in Game scene, very strange (of course I deleted FirstPersonController and replace with a Camera). Even when I deleted verything in the Hierachy except mCamera and character.
But if I open Island Demo, New Scene and add a character with Character Controller and ThirdPersonCOntroller, then the character move smoothly.
Can anyone tell me why? The problem is in Project settings or somewhere else?
@cloud051
I actually never opened the IslandDemo, but I may be able to help nonetheless.
A standard/Unity default FPS setup (as far as I can tell) consists of a few things
- Character Controller (which works with collisions and angles and such)
- MouseLook.cs (which deals with the mouse moving the camera and/or object)
- FPSInputController.js (which deals with the movement via input)
- CharacterMotor.js (which does the movement)
The default unity3d object hierarchy consists of:
- Main Group
-
- The object (in this case, a capsule)
-
The main group has the character controller, MouseLook.cs, CharacterMotor.js, and FPSInputController.js attached. With the main group selected, in the inspector under the mouse look script, the axes is changed from MouseXandY to just MouseX.
The camera just has the MouseLook.cs attached with the axes changed from MouseXandY to just MouseY.
I hope I broke down everything for ya.
-S
I tried your way but no use.
I recently load Bootcamp Demo and try to insert a Sphere with Character controller and Third Person Controller script. I realize that I can’t move the Sphere at all, and the Sphere even doesn’t fall and collide to the ground. Only if I re[lace by a RigidBody then the Sphere can fall and collide with ground, then roll, but that’s what I don’t need: I need to control the player.
Again when I load a new scene and add Plane and Sphere with Character Controller and Third Person Controller then the Sphere is well controlled. Strange.