diff options
Diffstat (limited to 'doc/python_api/rst/bge_types/bge.types.KX_TrackToActuator.rst')
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_TrackToActuator.rst | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_TrackToActuator.rst b/doc/python_api/rst/bge_types/bge.types.KX_TrackToActuator.rst new file mode 100644 index 00000000000..070243c6a05 --- /dev/null +++ b/doc/python_api/rst/bge_types/bge.types.KX_TrackToActuator.rst @@ -0,0 +1,39 @@ +KX_TrackToActuator(SCA_IActuator) +================================= + +.. module:: bge.types + +base class --- :class:`SCA_IActuator` + +.. class:: KX_TrackToActuator(SCA_IActuator) + + Edit Object actuator in Track To mode. + + .. warning:: + + Track To Actuators will be ignored if at game start, the object to track to is invalid. + + This will generate a warning in the console: + + .. code-block:: none + + GameObject 'Name' no object in EditObjectActuator 'ActuatorName' + + .. attribute:: object + + the object this actuator tracks. + + :type: :class:`KX_GameObject` or None + + .. attribute:: time + + the time in frames with which to delay the tracking motion. + + :type: integer + + .. attribute:: use3D + + the tracking motion to use 3D. + + :type: boolean + |