|
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..
(comments are locked)
|
|
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."
Jun 21 '10 at 11:51 AM
AnaRhisT
(comments are locked)
|
|
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. I already solved it 6 days ago :]
Jun 28 '10 at 12:11 PM
AnaRhisT
(comments are locked)
|

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.