hi, i cant find any posts or answers in here for this problem… so here it is: i got a car going fast upward and the follow camera script on the car and the camera is underneath the road and i cant see the car when it does it…im using the default script followcamera btw… im no good at scripting: so how would i fix this ? ty in advance
Well i would use Mathf.Clamp(). To learn about this and how to create a good camera script go to http://unitylabs.net and check out their 3rd person camera.
Coding_Pigeons <3
great ! thanks for replying …im looking at the site now …now i have to figure out how to use the Mathf.Clamp() you said
i cant find anything on that Mathf.Clamp() from that site …so could you give me an example ? i dont know script good enough to use just that Mathf.Clamp() since im new to unity 3d … do i have to put in the camera coordinates inbtwn those () ? like : Mathf.Clamp ( x, y, z ) … am i getting even close ? or do i have to add more stuff to that line ? thanks again
*** edit *** (hours later)===>> i found it on the site and got it …thanks…u made my day ![]()
Glad i could help!!!
just to let you all know, i found out i didn’t need a rotating camera to start with… you see im new to unity 3d and i just found out that all i had to do to fix this problem was to parent the camera to the carplayer in the hierarchy area …all this time i had a camera with a followcamera script that was SEPERATE from the carplayer !! this might help any newbees like myself to know and maybe save them lots and lots of time like i lost with this problem …anyways i might use the rotating camera later on, but for now i have to keep it simple and work on the other parts of the game…Thanks again for all yous help ![]()