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 DarkFact · Dec 26, 2013 at 03:30 AM · camera2d-platformerplatformside-scrolling

New to unity

In most normal engines the camera being set to follow a player would be a very simple process of a check box to follow with some parameters for how soon to begin chasing the player allowing for that mario type of wait before camera movement.

I have child attached the camera to the player which works but seem to offer a sudden jerk when shifting on the x axis. I just flip my animations when facing left or right and I'm betting the transform I use is part of the cause of this since I am flipping the animations. Is there a C# way of smoothing this out and maybe adding a bit of space before the camera moves? Let rephrase would anyone know a good way to do that. With unity I know it's very customizable and hence it should be possible my lack of knowledge is really the problem here :)

Comment
Add comment · Show 2
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 azmat786n · Dec 26, 2013 at 05:09 AM 0
Share

Right click in project area and Import Package >> Standard Assets($$anonymous$$obile)

then select SmoothFollow2D.js

Import

Then Select Camera Go to Component >> Camera Control >> Smooth Follow 2D

Then what should do you know already..

avatar image Benproductions1 · Dec 26, 2013 at 06:10 AM 1
Share

@DarkFact I'm sorry to tell you, but in most normal engines there are no "check boxes". In basically all commercial engines, anywhere from idtech to source to unreal to frostbite. Nothing is as easy as tick a box and it's done.

Unless you're working with engines designed for people with no knowledge in game development to make games of which I know none that are very powerful (at all)

0 Replies

· Add your reply
  • Sort: 

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

20 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

Related Questions

Platformer Flipping 0 Answers

How to destroy a projectile when it leaves any side of the camera view on a 2D game? 1 Answer

Cinemachine Confiner 2D shift my camera view 0 Answers

How to make a 2D spritesheet 1 Answer

How to make the camera move up and down the horizontal axis only when the 2D character get's above and below the top half of the screen. 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