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 /
This question was closed Apr 08, 2013 at 08:39 AM by Fattie for the following reason:

Duplicate Question

avatar image
1
Question by naveenrai8 · Apr 08, 2013 at 04:03 AM · cameramovementperspectiveperspective camera

Object moving faster when camera moves with it than without camera movement

Hi All, Scenario: 1. Need to move camera along x & y axis with the movement of an object.(kind of camera following an object) 2. the delta movement in every step must be same for camera and object both so that they always in sync. e.g. if object moved 0.5 in x axis (no movement in y) than camera has to move 0.5 along x axis (no movement should be in y axis).

following is the way i wrote the code: 1. calculate the object delta movement along x and y axis. 2. add the same amount in camera's x and y coordinates. 3. attach this script with Object

Now, there is a BIG PROBLEM :( When Object moves alone (without camera movement), the speed is normal. every thing looks good. But, when camera starts moving with object, though both are in sync but Object seems to RUN VERY FAST.

Is there any problem with LOGIC or its just a perspective view that's playing tricks with me????

Many thanks for your help!!

Comment
Add comment · Show 10
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 Benproductions1 · Apr 08, 2013 at 08:00 AM 1
Share

Cant you see in the scene view, if the object is still moving at the same speed? Also we can fix your code (if it's wrong) but only if you post it

avatar image Fattie · Apr 08, 2013 at 08:39 AM 0
Share

there are so many problems here. I suggest unityGE$$anonymous$$S.com for beginner articles on unity. also you simply parent the camera to the character in that situation ("drag the camera under the character in your hierarchy")

I urge you to search on here for 100s of questions on camera, FPS, movement, physics, follow, orbit, etc etc. Note that Unity completely INCLUDES, FOR FREE, many many many camera scripts that will do all for you.

avatar image Benproductions1 · Apr 08, 2013 at 09:27 AM 1
Share

@Fattie Well, it seams as though all of the high karma mods are now taking a HUGE crackdown on all questions, not thinking twice about closing and everything XD

I like the "new" unity answers

avatar image Fattie · Apr 08, 2013 at 09:58 AM 1
Share

CRAC$$anonymous$$ DOWN

avatar image Fattie · Apr 08, 2013 at 05:17 PM 1
Share

top ten baby !

Show more comments

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

13 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

Related Questions

What Camera Perspective does Clash Royale use? (/w image) 3 Answers

Character Move Forward after Camera Perspective 1 Answer

3rd person controller 1 Answer

2D game with angled top-down camera perspective 1 Answer

drag to move object in perspective camera 0 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