- Home /
Question by
Optimistic_Peach · Mar 12, 2017 at 05:04 PM ·
cameracamera-movementparent-child
Jittery camera when following the player within a prefab
I have got a 3d model, which I then set up: I put it into a gameobject which will be the prefab I added a camera as a child to the prefab gameobject I added a character controller to the prefab An animation script and the animations
And all seems fine and dandy..... Until I try it and when I move the character using the predesignated WASD and CRTL keys. It moves and the animation works, but the animation makes the entire prefab object rotate in nearly all of the animations. So when I press W, it will move forward but the camera will swing like crazy. The camera at a default is placed behind the model at (0, 4, -4) locally relative to the prefab gameobject. Can anyone come up with a fix for this please?
Comment