Scene & Logic
For example, we have two objects: the animation object (anim_obj
) and our camera object (camera
). Object camera
is the parent of anim_obj
.
The following is the logic setup of anim_obj
:
Always (skip: 1) > And > Action (Property = prop)
The following is the logic of camera
:
Mouse (movement, skip: 1) > And > Mouse (Look)
The following is our scene visualized:
Now, the animation. The animation of anim_obj
simply rotates the object on the Y
axis 20 degrees over 100 frames. The property prop
of anim_obj
is for experimental purposes.
Problem
Lets set prop
to 50. This means that, on start, anim_obj
should be rotated along the Y
axis 10 degrees. On start, this is exactly what we see (keep in mind we are not starting the scene from the camera). Now, when we move our mouse to any extent, we see anim_obj
move as its parent is camera
, which is rotating. The problem is anim_obj
itself. For some odd reason, when I move my mouse and camera
starts to move, the object starts "stuttering." See for yourself:
A closer look:
As you can see, anim_obj
is moving erraticly. I have absolutely no idea why this is happening. If we use motion instead of action to rotate, it will work fine. It seems that animations themselves cause this issue.
.blend
If anyone needs, here is the .blend I used for the example: