x


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..

more ▼

asked Jun 21 '10 at 10:53 AM

AnaRhisT gravatar image

AnaRhisT
865 30 33 43

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.

Jun 21 '10 at 11:35 AM Digitalos

solved, by detaching the camera from the Cube, and then puting the SmoothFollow or ur FollowTrackingCamera script which is the same.

Jun 21 '10 at 11:50 AM AnaRhisT
(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Solution : detaching the camera from the Cube, and then puting the SmoothFollow or ur FollowTrackingCamera script which is the same.

more ▼

answered Jun 21 '10 at 11:50 AM

AnaRhisT gravatar image

AnaRhisT
865 30 33 43

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)
10|3000 characters needed characters left

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.

more ▼

answered Jun 27 '10 at 11:02 PM

Keith 1 gravatar image

Keith 1
1

I already solved it 6 days ago :]

Jun 28 '10 at 12:11 PM AnaRhisT
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3128
x747
x516

asked: Jun 21 '10 at 10:53 AM

Seen: 2634 times

Last Updated: Jun 21 '10 at 11:21 AM