Page MenuHome

Camera turns in oposite direction to track target with track to and copy rotation constraint
Closed, ArchivedPublic

Description

System Information
Operating system: Linux
Graphics card: Intel Haswell

Blender Version
Broken: 2.92
Worked: Never (2.80+)

Short description of error
Camera turns in oposite direction to track target with track to and copy rotation constraint.

Exact steps for others to reproduce the error


Open attached file, compare camera tracking between frames 309 and 310.

Event Timeline

Wovchik (microcoder) renamed this task from Unauthorized camera(object) rotation with interpolation frames by X axis location to Unauthorized camera(object) rotation when using interpolation frames by X axis with constraint track to.Nov 28 2020, 8:15 PM
Wovchik (microcoder) updated the task description. (Show Details)
Wovchik (microcoder) renamed this task from Unauthorized camera(object) rotation when using interpolation frames by X axis with constraint track to to Unauthorized camera(object) rotation when making interpolation frames by X axis with constraint track to.Nov 28 2020, 8:18 PM
Wovchik (microcoder) renamed this task from Unauthorized camera(object) rotation when making interpolation frames by X axis with constraint track to to Unauthorized camera(object) rotation when interpolation frames by X axis with constraint track to.
Wovchik (microcoder) updated the task description. (Show Details)
Wovchik (microcoder) updated the task description. (Show Details)
Wovchik (microcoder) renamed this task from Unauthorized camera(object) rotation when interpolation frames by X axis with constraint track to to Unauthorized turn to 180 degrees Camera when interpolation frames by X axis with constraint track to.Nov 29 2020, 6:51 AM
Wovchik (microcoder) updated the task description. (Show Details)
Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Dec 7 2020, 6:50 PM

This works correctly when I use copy location on camera instead of parenting. I am not quite sure what "interpolation frames by X axis" means - is it keyframe interpolation?
This looks like bug to me though.

Wovchik (microcoder) added a comment.EditedDec 7 2020, 8:34 PM

This works correctly when I use copy location on camera instead of parenting. I am not quite sure what "interpolation frames by X axis" means - is it keyframe interpolation?
This looks like bug to me though.

Between keyframes the Blender generating (interpolating) frames and make it incorrect as I seems, the Camera between keyframes sharp rotate to 180 degrees, that it not must be because constraint Track to setted there.

Richard Antalik (ISS) changed the task status from Needs Information from User to Confirmed.Dec 8 2020, 5:34 AM
Richard Antalik (ISS) updated the task description. (Show Details)
Richard Antalik (ISS) renamed this task from Unauthorized turn to 180 degrees Camera when interpolation frames by X axis with constraint track to to Camera turns in oposite direction to track target with track to and copy rotation constraint.Dec 8 2020, 5:45 AM
Richard Antalik (ISS) updated the task description. (Show Details)

The problem is that, with Euler angles, there are multiple ways in which to reach the same orientation. This means that the Track To constraint has multiple solutions to pick from, and not all of them may be compatible with the world rotation of the Copy Rotation target (in this case, the boat).

A Locked Track constraint will work better in this case (see the attached file).

I don't think this is a bug in Blender, but rather a downside of using Euler angles & matrices for the constraint system.

The problem is that, with Euler angles, there are multiple ways in which to reach the same orientation. This means that the Track To constraint has multiple solutions to pick from, and not all of them may be compatible with the world rotation of the Copy Rotation target (in this case, the boat).

A Locked Track constraint will work better in this case (see the attached file).

I don't think this is a bug in Blender, but rather a downside of using Euler angles & matrices for the constraint system.

I understand! Thank You!