Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Joseph Cordarro · Nov 26, 2010 at 04:20 PM · cameraerror

Camera Problem!

When I push the play botton to try and test what I have done, the camera starts to flip around like it's falling, but the sceen stays in place it's just the camrera.

Comment
Add comment · Show 3
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 Jesse Anders · Nov 26, 2010 at 04:23 PM 0
Share

There's not enough information there to answer the question. To begin with, perhaps you could edit your post and tell us what other components are attached to the camera object (e.g. does it have a rigid body and/or collider attached to it, etc.).

avatar image skovacs1 · Nov 26, 2010 at 04:49 PM 0
Share

Including the code from the script(s) you have attached might also be useful.

avatar image Mendicant · Nov 26, 2010 at 05:06 PM 0
Share

Your camera object may be attached to another object, have a script running on it, or somehow have gotten a rigidbody attached to it. I'd recommend you test this theory by saving your current camera as a prefab, and then creating a new camera, free from artificial colours or preservatives, and see if that fixes it :)

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by oliver-jones · Nov 26, 2010 at 05:06 PM

Okay, is this a player control camera? If so, i would believe that gravity maybe affecting it. Click on the camera in your scene, and take a look at what components you may have added to it. Like Jesse said, it maybe that you have a Rigidbody attached to it, causing gravity to take effect. If you DO want to rigidbody, then you might not have a collider active - this allows your character/camera to have a physical, solid shape. If it does? Then your floor/terrain may not have a collider. But there is not enough info for me to be sure.

Hope that helps

Comment
Add comment · 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
0

Answer by Statement · Dec 15, 2010 at 03:35 PM

The camera starts to flip around like it's falling, but the screen stays in place.

Surely this is a good thing. If your screen fell off the table each time you played, you would lose your calm and sense after a few tries.

Joke aside, what do you mean saying "the screen stays in place"? Do you mean that you can see (through the editor) that the camera is following some other object but the actual render output doesn't move? Maybe you have two cameras in your scene where the main camera isn't hooked to the player. That way your player camera isn't actually enabled for screen rendering.

Try this:

  • Make sure there is only one camera in the scene.
  • Make sure your camera is tagged MainCamera.
  • Make sure your camera is enabled.
Comment
Add comment · 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

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

No one has followed this question yet.

Related Questions

Screen position out of view frustum error on FOV change? 0 Answers

Making the players head face toward the location of the mouse? 1 Answer

GUI Texture - from Box to Camera 1 Answer

error CS0119: Expression denotes a `type', where a `variable', `value' or `method group' was expected 3 Answers

How do I create an Initial Spawn Point? 2 Answers


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