Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 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 Drummermonkey01 · Sep 21, 2015 at 03:08 PM · 3d

How to rotate camera around an object at a fixed position?

Hello I really could use some help with this!

I have a car (game object) in my scene and I really would like to rotate my camera around it at a fixed position. I have tried rotating around it normal using scripts from both the internet and the asset store but none of them seem to work. So my Question is:

How would I be able to rotate around an object at a fixed position whilst the camera us looking at the object and using touch?

I really could use some help with this! Thank You!!

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
0

Answer by allenallenallen · Sep 21, 2015 at 03:55 PM

So you basically grabbed random scripts without knowing how they work at all, which makes me not want to help you much. And looking at your past questions, you never tried to code anything. This isn't coding 101. I'm not going to do your work for you. Learn some coding and at least try to solve the problem by yourself.

If the car doesn't move, you can use this: http://docs.unity3d.com/ScriptReference/Transform.RotateAround.html

And this to look at the object: http://docs.unity3d.com/ScriptReference/Transform.LookAt.html

If the car moves around, you have to use a more complex method. See http://answers.unity3d.com/questions/54794/3rd-person-camera.html

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 Drummermonkey01 · Sep 21, 2015 at 05:13 PM 0
Share

Well it is good to see that there are nice people still on this website... I was asking a question in the nicest way possible and it is good to see some backhanded comments once in a while, it makes the site more interesting. I have tried solving the problem myself, but unfortunately that failed, so why do you think I am on here? this is my last go to website. There is a multitude of ways to do this one simple thing and many have different results. Sorry I don't know the ins and outs of code yet, truly I am from the deepest depths of my heart, it must really annoy you, I never asked you to do my work for me, although since you went through my profile it's obvious you have enough time in the day to do both. Please and I beg you, try and learn some manners, some people call it constructive Criticism, and at least try and read a book called $$anonymous$$anners 101.

Have a good Day.

avatar image allenallenallen · Sep 21, 2015 at 08:38 PM 0
Share

@Drummermonkey01 $$anonymous$$anners? What does that have to do with this? I didn't say anything about your manners or attitude, which are both fine in my opinion. I'm talking about your approach. You said it yourself that you tried by grabbing scripts online and from the asset store. Yet you didn't supply your own code. That's how I inferred that you didn't try to solve the problem by yourself. The LEAST you could do is list the things you understand so we can help you from there.

Furthermore, your question is a duplicate of another tens of hundreds of question: "Third Person Camera" on Unity Answers.

Your lack of knowledge and skills in coding doesn't annoy me. The fact that you didn't show that you tried does.

There's no constructive criticism to asking questions on Unity Answers. It's called following the FAQ: http://answers.unity3d.com/page/faq.html

avatar image Drummermonkey01 allenallenallen · Sep 21, 2015 at 09:05 PM 0
Share

If you notice I am talking about your manners not $$anonymous$$e - reading 101. I have tried to solve the problem myself and failed, why do you think I am on here?

I wonder why there are so many duplicate questions. Perhaps because most answers just point to a link and say there you go, that's a bit like saying 'oh here are the parts to build a machine but the instructions/plans and how to make it are gone' People need to know how its all fits together not the individual parts.

The third link is the type of thing I am looking for and that is what all was needed, not the 'This isn't coding 101, I'm not going to do your work for you,try to solve the problem by yourself.'

Have a fantastic Day

avatar image allenallenallen Drummermonkey01 · Sep 21, 2015 at 09:17 PM 0
Share

If I were to search your question on Google, this is within the first 3 results; http://answers.unity3d.com/questions/793126/how-can-i-rotate-the-camera-around-an-object.html

You want to know why there are so many duplicate questions? Because almost no one follows the FAQ.

Now, you too have a fantastic day. (Note that I'm not against you at all. You are better than other 90% of the people who ask questions on here. I'm sorry if I sounded like a prick. We're trying to purify this damn place and after going through the daily moderation queue, my patience was thoroughly tested.)

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

30 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Thief Car AI for 3D Game 0 Answers

How to get score point if i click a rock in 3d 2 Answers

3D Objects on a UI canvas with LWRP? 2 Answers

Player teleportation isn't working 1 Answer

Non game app,Unity for non game app 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