- Home /
Camera shakes on controller movement
Hey Guys! When I click on the terrain so the player moves to the hit.point, and rotates towards it, I've also uploaded a project to demonstrate how it looks like : http://thebulletinworld.com/Faith/fAITH.html Simply, when u get into the game just click on the terrain and see that the camera like shakes and rotates, I want the camera just to see the player from above and also making sure the player will be on the center of the camera.
so there's a character and to it I attached a "Cube", to the "Cube" I attached the camera, so now the camera is a 3rd child of the character that moves. this is the character's movement : - attched to the character http://09duck.pastebin.com/cjh3EpQt this is the script that attached to the Cube (simply what it does - on right click of the mouse it rotates around the cube which its position is exactly on the player's position. http://09duck.pastebin.com/4f9wj2Rh
Hierarchy View: http://img257.imageshack.us/img257/1992/faithy.jpg
the camera doesn't have any script on it, I tried smoothfollow which doesn't make any difference, I think it's something wrong with the character's movement or something..
Just in case you miss the IRC messages. The weird thing for me is that more you click and move the character around, the worse the camera shake gets, are you sure that A) There is nothing on the camera object itself and B) No other scripts are interacting with it?
Based on what you have provided I can't see anything that would do that.
solved, by detaching the camera from the Cube, and then puting the SmoothFollow or ur FollowTrackingCamera script which is the same.
Answer by AnaRhisT · Jun 21, 2010 at 11:50 AM
Solution : detaching the camera from the Cube, and then puting the SmoothFollow or ur FollowTrackingCamera script which is the same.
can't mark it as solution because a msg appears "You must wait 47 hours before accepting your own answer."
Answer by Keith 1 · Jun 27, 2010 at 11:02 PM
Looks like you have script somewhere checking for left mouse down. While I hold the left mouse button down and drag left or right the camera tries to turn.
Might skim your scripts attached to the camera and check that out.
Your answer
Follow this Question
Related Questions
I am getting a problem with moving and rotating a camera! 1 Answer
Top-Down Camera Trouble 1 Answer
Wrong Camera axis after "zoom" to GameObject 0 Answers
Camera move belong a certain path 1 Answer
Camera rotate with mouse in TPC 0 Answers