- Home /
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.
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.
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.
those tutorials really help me understand the way raycasts and smooth camera movements
Your answer
Follow this Question
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 use linecast ?? 1 Answer