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 Josh707 · Nov 22, 2012 at 10:45 PM · cameraphysicsdynamicanimating

Dynamic Camera Help

Well, I am trying to achieve the effect of fluid camera movement such as the game Dishonored. Examples being when you fall and hit the ground the camera smoothly drops relative to your velocity, and when climbing the camera sort of rocks back and forth.

How are these effects achieved?

The only things I have come up with are somehow utilizing the spring joint with the camera itself and pushing it around with a script, but I know nothing about that and it requires a rigidbody.

My only other idea was creating an empty gameobject at the minimum height and having a script make camera constantly slerp towards it's original position, and then do calculations getting the fall distance and push the camera down based on the distance, this might also work for each footstep you take. Is this a reasonable idea? Or is there some easier way of animating a camera?

Does anybody else have a better idea? I am not too experienced in programming so I can't come up with a reasonable way to do this.

Comment
Add comment · Show 1
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 Josh707 · Nov 22, 2012 at 11:13 PM 0
Share

Just to clarify I'm not asking for complex code examples or any code at all just an idea or procedure to get me on the right track.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by TheDarkVoid · Nov 22, 2012 at 11:40 PM

http://www.3dbuzz.com/vbforum/sv_videonav.php?fid=3e87b1f570fc9c24ab89ad850ec2f71b

This is not exactly what you asked for, but it will teach you everything you need to know, and will guide you through making a pretty good camera and third person controller system, you can then modify it to fit your needs. Best part is it's free and super detailed explaining everything.

Comment
Add comment · Show 2 · 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 Josh707 · Nov 23, 2012 at 12:34 AM 0
Share

Ok thanks! I will check that out.

avatar image TheDarkVoid · Nov 23, 2012 at 02:15 AM 0
Share

those tutorials really help me understand the way raycasts and smooth camera movements

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

10 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

Related Questions

Jittery Movement - specific mechanics in mind 0 Answers

Colliders not working on camera frustrum. 0 Answers

Top down LOS/Field of View 0 Answers

How to always face player relative to player's rotation and how do I use TransformDirection to move a player regardless of Y-rotation? 0 Answers

How to use linecast ?? 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