0
$\begingroup$

I am still quite new to Blender. I have tried searching the official Blender manual and watched several YouTube tutorials and searched for various related strings on the WWW but I haven't found anything to answer this question.

I have set up a camera rig using a couple of empty objects, one on a path and another on another path which is local to my point of interest. I have used constraints to control the camera view and the movement of the camera and target empty objects.

My problem is this - I want to lock the roll (rotation about the camera's local Z axis).

I understand that for every day stuff that the camera should try to stay "upright" but in my situation I am flying around an object in "space" where there is no up/down thing.

There are times during the animation where the camera wants to suddenly roll and much to fast. This is generally when the local Z axis of the camera reaches a vertical aspect.

I have gone into the graph editor to try and at least tame the rolling action and that works to a degree.

Ideally I would like to either have more control over camera roll or lock it altogether. I have tried locking various elements but nothing seems to want to stop camera roll.

I will add a GIF showing how the camera rotates as it goes almost vertical:-

unwanted camera roll

cheers

andy

I have since rendered a video and uploaded to YouTube. I will post a link to the time just before the camera begins to roll.

https://youtu.be/N-nOuM1k32w?t=192

Okay, I have been doing some more research into my perceived problem here.

I created a new simple project with just a cube, a camera and a path (Bezier).

It seems to me that having set the camera up with the Follow Path constraint, linked to the path, and then the Track To constraint, liked to the cube, we are no longer able to rotate the camera at all as it appears to be locked. It is fixed such that the camera's Y axis is always as vertical as possible. And this is understandable, while setting up scenes which are Earth bound and we do not want a camera view which is suddenly upside down.

But then I watched one of the official Blender tutorials with regards to tracking constraints:-

https://www.youtube.com/watch?v=aGBOu-dNZ-w

As I am new to Blender and having watched so many tutorials up to this point none of them mentioned the Damped Track constraint. When I tried to use this constraint instead of the Track To constraint I noticed that we are now able to changed the camera's rotation.

I still need to play with this some more. I tried it quickly just now in my current project and there was still some undesirable camera roll, but I am guessing that because the camera can now be rotated I should be able to add keyframes at points where I want to control that rotation in order to counteract the roll.

Time for bed now... I will report back once I have spent some more time on this.

cheers, and thank you for your patience.

andy

$\endgroup$
5
  • $\begingroup$ hello, maybe some screenshots would help to understand a very concrete situation of what you want and what happens instead? The Limit Rotation constraint doesn't fulfill your needs? $\endgroup$
    – moonboots
    Sep 2, 2020 at 7:48
  • $\begingroup$ Hi @moonboots, thank you for your reply. I have added a GIF to my question showing how the camera rotates around its lens axis when the camera goes almost vertical. I just tried the Limit Rotation constraint and that didn't do anything to help. cheers andy $\endgroup$
    – synkrotron
    Sep 2, 2020 at 8:44
  • $\begingroup$ do ensure that the curve is a beizer curve $\endgroup$ Sep 2, 2020 at 13:43
  • $\begingroup$ Hi @SHikhaMittal, I didn't realise that. I will have to try this again but using a bezier curve. Although I still wonder if the Tilt property will make any difference to the actual tilt of the camera when the camera is looking at something else. Once I have tried that I will report back. It will be tomorrow at the earliest as I need to get some real life chores out of the way and I am going out for a meal tonight. Cheers, andy $\endgroup$
    – synkrotron
    Sep 2, 2020 at 14:09
  • $\begingroup$ I wonder if you could change the position thing, like what the rotation is relative to. Another option is to click the lock button beside the rotation thing, however Im not too sure if it will work. $\endgroup$
    – Yohello 1
    Mar 30, 2022 at 1:40

3 Answers 3

0
$\begingroup$

You can try to edit the "tilt" value of every control point of the curve, even creating new ones if it helps to achieve the desired control.

enter image description here

$\endgroup$
1
  • $\begingroup$ Hi Josh, Thank you for your suggestion. Unfortunately I think that that only works when a camera is pointing along the line of the path. cheers andy $\endgroup$
    – synkrotron
    Sep 2, 2020 at 13:54
0
$\begingroup$

If i understand you correctly, you have a camera path and a focus object (assuming an empty but an object can work as well). On the camera object add another "track to" constrain, to that object. (to -Z up is Y )

This way tou have excelent control over a camera Set the focus to the camera-focus object.

you can animate the focus point in various ways, by a path or by certain positions at certain frames.

$\endgroup$
2
  • $\begingroup$ Hi :-) I tried adding a second Track To constraint and set it up as you suggested. You mention to "set the focus" but I am not sure what you mean by that. I set the second Track To constraint to target to the same object. When I run the animation the second constraint didn't make any difference at all. cheers andy $\endgroup$
    – synkrotron
    Sep 2, 2020 at 13:59
  • $\begingroup$ the focus is set in the camera object itself its not a constrain. i usually create an empty camera-focus, and have the camera constrain "track to" it $\endgroup$
    – Peter
    Sep 2, 2020 at 15:14
0
$\begingroup$

I just tested this with the camera looking at the default cube with the first constraint being "Follow Path" (using a bezier curve looped helix).

Using the "Track To" constraint next, set the 'Owner' to "Custom Space" and set the 'Object' to the target. Select -Z for the 'Track Axis' and Y for the 'Up' axis.

Tried this just now with a looped helix curve (it has a sudden drop in it's path) to be sure and it worked fine.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .