# ComponentTracking (for Camera Animation)

**URL:** <https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533>\
**Category:** Visual Components Add-on Samples\
**Created:** [December 20, 2018, 1:07pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533 "2018-12-20T13:07:48Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahven](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/ahven/32/8381_2.png) [@ahven](https://forum.visualcomponents.com/u/ahven)\
**Post date:** [December 20, 2018, 1:07pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/1 "2018-12-20T13:07:48Z")

</div>

This command can be used to lock the camera to a (dynamic) component to follow it during simulation.

Install the addon by extracting the zip file to My Commands folder. Then restart the application and the “Tracking” button shows up in the _Camera_ group on the _Home_ ribbon tab. See also _ComponentTracking\_Add-on.pdf_ for more information.

&nbsp;

#UPDATE 25-08-2020  
-The component to be tracked is now easier to define  
-Better usability, user interface and output messages

#UPDATE 24-08-2020  
-the command name and the UI name has been changed.

#UPDATE 29-02-2020

-the component does not need to be selected and highlighted anymore

-user can select the component from drop-down menu, or select in 3D, then launch the command. There is not yet interactive picking yet, unfortunately.

-user can attach the camera position the component. This will move the camera position in 3D by keeping the same offset to the followed component, but does not lock it. It is still possible to navigate the view.

-property names has been changed

[ComponentTracking.zip](https://forum.visualcomponents.com/uploads/short-url/2FpdiqlHJfTlBqJLbGfhcJFxBqm.zip) (2.1 KB)  
[ComponentTracking\_Add-on.pdf](https://forum.visualcomponents.com/uploads/short-url/dRoxvlqxsehwjmMSLoUcDxIforu.pdf) (168.4 KB)

---

<div class="post-metadata">

**Author:** ![55011595](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/5/5fc32e/32.png) [@55011595](https://forum.visualcomponents.com/u/55011595)\
**Post date:** [December 25, 2018, 5:31am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/2 "2018-12-25T05:31:23Z")

</div>

very good!

---

<div class="post-metadata">

**Author:** ![johnny](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/johnny/32/810_2.png) [@johnny](https://forum.visualcomponents.com/u/johnny)\
**Post date:** [January 28, 2019, 9:21am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/3 "2019-01-28T09:21:09Z")

</div>

Great AddOn, thanks!

&nbsp;

For some reason my “Camera.Eye” is updated as soon as “Camera.Coi” changes.

This results in my camera always moving parallel to the object I selected.

&nbsp;

I don’t know why this happens but I’m now making a backup of the eye position in order to reset it after the Coi changed. With this change my camera follows the object without changing it’s eye position.

Maybe it helps someone:

> eye = vcVector.new(camera.Eye) camera.Coi = origin.P + atX + atY + atZ camera.Eye = eye

---

<div class="post-metadata">

**Author:** ![rawk](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/r/7feea3/32.png) [@rawk](https://forum.visualcomponents.com/u/rawk)\
**Post date:** [January 31, 2020, 3:05pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/4 "2020-01-31T15:05:07Z")

</div>

Hello.

Is it possible to combine CameraFollowComponent with views made with camera animator? For instance, view1, view2, follow a component for 5s, view3, etc. I’ve been trying to get it to work through python API but I’m stuck.

Thank you.

Best regards.

---

<div class="post-metadata">

**Author:** ![Este](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/este/32/760_2.png) [@Este](https://forum.visualcomponents.com/u/Este)\
**Post date:** [February 7, 2020, 11:13am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/5 "2020-02-07T11:13:15Z")

</div>

Thanks for the great add-on!

-Este

---

<div class="post-metadata">

**Author:** ![ahven](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/ahven/32/8381_2.png) [@ahven](https://forum.visualcomponents.com/u/ahven)\
**Post date:** [February 29, 2020, 7:49pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/6 "2020-02-29T19:49:32Z")

</div>

Hi,

@Johnny, I made an update to the command which where attaching the camera to the component in optional. The previous version it was always attached. Please check it out.

&nbsp;

@raWK, that would be a nice improvement tot the command. The problem is that typically those components that the camera follows are dynamic, so you cannot refer to them before they are created. The name of the component is not unique for dynamic components either. Do you have an idea how to solve this?

&nbsp;

@Este, nice video indeed! Thanks for posting it!

---

<div class="post-metadata">

**Author:** ![rawk](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/r/7feea3/32.png) [@rawk](https://forum.visualcomponents.com/u/rawk)\
**Post date:** [March 2, 2020, 10:59am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/7 "2020-03-02T10:59:27Z")

</div>

> @rawk, that would be a nice improvement tot the command. The problem is that typically those components that the camera follows are dynamic, so you cannot refer to them before they are created. The name of the component is not unique for dynamic components either. Do you have an idea how to solve this?

I thought it was possible to manage camera animator in OnRun event (but couldn't find a way to do it). That way you wouldn't have to refer to components before they are created. I would then refer to object instances of those dynamic components and use some of your command's code to follow components.

At the moment I don’t have any idea how to incorporate this feature in the command itself.

---

<div class="post-metadata">

**Author:** ![jaisantosh-d](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@jaisantosh-d](https://forum.visualcomponents.com/u/jaisantosh-d)\
**Post date:** [March 12, 2020, 9:52am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/8 "2020-03-12T09:52:47Z")

</div>

@el_prinz

1.do we have to create the views to make this work?

2.or it dynamically follows the object?

if 2, then where do i specify which part to follow in the logic?

Thank you.

---

<div class="post-metadata">

**Author:** ![ahven](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/ahven/32/8381_2.png) [@ahven](https://forum.visualcomponents.com/u/ahven)\
**Post date:** [August 24, 2020, 1:09pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/9 "2020-08-24T13:09:33Z")

</div>

@jaisantosh-d

1. No you do not need to create views in order to use this. You need to just select one component and you can toggle it on/off.

2. When the command is launched, there is action panel on the right hand side. You need to select the component by the property ComponentToTrack. Use the drop-down menu or pick in 3D-icon.

---

<div class="post-metadata">

**Author:** ![ahven](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/ahven/32/8381_2.png) [@ahven](https://forum.visualcomponents.com/u/ahven)\
**Post date:** [August 24, 2020, 1:09pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/10 "2020-08-24T13:09:45Z")

</div>

@rawk Currently there is no way to combine views with tracking, but probably you could record the videos in both ways and use video editor to combine them. Another option would be to use API to call the views and the component tracking.

---

<div class="post-metadata">

**Author:** ![rawk](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/r/7feea3/32.png) [@rawk](https://forum.visualcomponents.com/u/rawk)\
**Post date:** [September 2, 2020, 10:50am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/11 "2020-09-02T10:50:22Z")

</div>

The third option is exporting animation to Blender with an addon. Blender is great for defining camera movement. This is also the option I use.

---

<div class="post-metadata">

**Author:** ![captain\_feature](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/captain_feature/32/5547_2.png) [@captain\_feature](https://forum.visualcomponents.com/u/captain_feature)\
**Post date:** [September 2, 2020, 1:07pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/12 "2020-09-02T13:07:12Z")

</div>

Hy,

I use the great CameraFollowComponent-Addon (a bit modified 😉 ) in combination with an selfmade component which moves along frames… Works great! 🙂

Regards  
Feature

---

<div class="post-metadata">

**Author:** ![parkcheoljin](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@parkcheoljin](https://forum.visualcomponents.com/u/parkcheoljin)\
**Post date:** [September 9, 2020, 5:59am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/13 "2020-09-09T05:59:05Z")

</div>

Wow~  
I just found out that there is an addon feature.  
Let’s take a look again. Thank you.

---

<div class="post-metadata">

**Author:** ![ahven](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/ahven/32/8381_2.png) [@ahven](https://forum.visualcomponents.com/u/ahven)\
**Post date:** [September 9, 2020, 9:28am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/14 "2020-09-09T09:28:14Z")

</div>

You are right! Blender is a great tool, if you know how to use it!

---

<div class="post-metadata">

**Author:** ![idkfa](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/idkfa/32/5568_2.png) [@idkfa](https://forum.visualcomponents.com/u/idkfa)\
**Post date:** [March 10, 2021, 7:01am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/15 "2021-03-10T07:01:53Z")

</div>

For ComponentTracking add-on, fixed(based on camera coi) camera eye and dynamic camera coi.  
For ViewAnimator, pre-defined camera eye and pre-defined camera coi, also the camera interpolation is calculated internally. That’s why you cannot utilize it.

If you want respective dynamic paths for camera eye and camera coi, cannot use ComponentTracking add-on or ViewAnimator, need to create a new add-ons.

Try to define camera eye path first, then when during rendering, define camera coi. You will get what you want.

---

<div class="post-metadata">

**Author:** ![Unnahi](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/unnahi/32/2443_2.png) [@Unnahi](https://forum.visualcomponents.com/u/Unnahi)\
**Post date:** [February 28, 2025, 10:45am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/16 "2025-02-28T10:45:31Z")

</div>

Does this support VC 4.8? The camera does not track moving components anymore.

---

<div class="post-metadata">

**Author:** ![ahven](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/ahven/32/8381_2.png) [@ahven](https://forum.visualcomponents.com/u/ahven)\
**Post date:** [March 25, 2025, 3:41pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/17 "2025-03-25T15:41:02Z")

</div>

Yes it works in 4.8 too. Make sure that the status is RUNNING

 ![image](https://forum.visualcomponents.com/uploads/default/original/2X/1/1790b507efd936c7147f8d46209e1364587879aa.png)

---

<div class="post-metadata">

**Author:** ![Mueller](https://forum.visualcomponents.com/letter_avatar_proxy/v4/letter/m/edb3f5/32.png) [@Mueller](https://forum.visualcomponents.com/u/Mueller)\
**Post date:** [June 8, 2026, 7:08am UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/18 "2026-06-08T07:08:41Z")

</div>

Hey,

where can I find the “My Commands folder” ?

Many thanks for your help!

---

<div class="post-metadata">

**Author:** ![ProLean](https://forum.visualcomponents.com/user_avatar/forum.visualcomponents.com/prolean/32/3081_2.png) [@ProLean](https://forum.visualcomponents.com/u/ProLean)\
**Post date:** [June 8, 2026, 9:38pm UTC](https://forum.visualcomponents.com/t/componenttracking-for-camera-animation/533/19 "2026-06-08T21:38:01Z")

</div>

It’s in your user directory.  
Usually: C:\Users\USER\Documents\Visual Components\5.0\My Commands  
And then put it in the “Python 2” folder for this addon.
