Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by robert 4 · Feb 25, 2011 at 12:39 AM · camerafollow

camera follow an game object

when i click on up arrow my animated character moves forward i want the camera to follow the animated character where ever he goes

when i click up arrow when character moves forward camera should follow it like in car games when car goes running the camera follows it

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by Alec-Slayden · Feb 25, 2011 at 12:46 AM

Make sure you have imported the scripts package for your project. This comes with a number of useful scripts, including camera control.

When / if the package is imported, select your camera, go to the component menu, and under "Camera Control" select the "Smooth Follow" script.

That script will be a good starting place. You'll need to assign the follow target. To do this, make sure your camera is selected and you can see the variables in the inspector window, then drag your target into the "Target" variable

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robert 4 · Feb 25, 2011 at 12:50 AM 0
Share

where will i get the script package to import to the project

avatar image robert 4 · Feb 25, 2011 at 12:52 AM 0
Share

any script is there to do this

avatar image Alec-Slayden · Feb 25, 2011 at 01:26 AM 0
Share

if you right click in your project area you should see a context menu with the option to import a package. There should be a list that pops up when you select that. Select "Scripts" from that list

avatar image TheRedGuy90 · Feb 05, 2015 at 02:23 AM 0
Share

I imported the script and it is not in the right folder. What do I do to move it to the Camera Control Component?

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

Camera following dice with FREE UNITY DICE PACK. help 1 Answer

How do i get a weapon to follow the first person controller up and down? 0 Answers

Third preson controller without camera controller !!! 1 Answer

Camera follow rotating ball 2 Answers

2D Camera Smooth follow, FixedUpdate and LateUpdate odd difference, help needed. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges