BGE: Change Actuator's Track-to Time value using Python?

I want to change the Time value for an Edit Object: 'Track to' actuator in-game. Seems like something that should be achievable with Python - but I can't find any documentation on this.

To add to the confusion, the documentation I could find refers to refers to this actuator as the TrackTo Actuator, although no such actuator appears in the list of actuator types:

Instead, Track To is listed as a subset of Edit Object. It is also listed this way in the documentation for the Edit Object Actuator: Track To (Although this page doesn't go into any details about Python).

This Blender Artists thread was helpful for at least getting one object to track to another, but the Time value is not mentioned. And I can't even get the tracking to update with each tick.

After reading that thread I looked to the API to try to better understand alignAxisToVect(). It takes three arguments, one being a factor of how much to align, but it seems that any updating over time would need to be programmed manually, and I'm not sure if it would look smooth.

There is an angularDamping attribute as well, which seems like it ought to do something similar to the track-to Time value. But at this point I'm speculating.

If anyone knows how to get at this Time value or emulate its functionality with Python so that it can be updated in-game, please share.

• Did you tried in Python cont.actuators["TrackToActuator"].time = any_value? Reference: docs.blender.org/api/current/… – Joel Gomes Apr 23 '19 at 1:16
• @JoelGomesdaSilva I've got it working! Thank you for that very helpful comment. Would you like to post an answer officially, or shall I? – Mentalist Apr 23 '19 at 16:12
• I did it, if you could accept it. ;) – Joel Gomes Apr 25 '19 at 0:58

cont.actuators["TrackToActuator"].time = any_value