This page has been translated automatically.
Видеоуроки
Interface
Essentials
Advanced
Подсказки и советы
Программирование на C#
Рендеринг
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Настройки и предпочтения
Работа с проектами
Настройка параметров узла
Setting Up Materials
Setting Up Properties
Освещение
Landscape Tool
Sandworm
Использование инструментов редактора для конкретных задач
Extending Editor Functionality
Встроенные объекты
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
Sound Objects
Pathfinding Objects
Players
Программирование
Основы
Настройка среды разработки
Примеры использования
UnigineScript
C++
C#
Унифицированный язык шейдеров UUSL
File Formats
Rebuilding the Engine Tools
GUI
Двойная точность координат
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Art Samples
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Transform Path

A world transform path is a succession of transformations based on an arbitrary path. The objects that are made children of the WorldTransformPath can move along with these transformations.

See also#

Adding Transform Path#

To add a transform path to the scene via UnigineEditor, do the following:

  1. Run the project with UnigineEditor.
  2. On the Menu bar, click Create -> Transform Path.

  3. Choose the path to the .path file.
    Notice
    The path can be changed afterwards in the Parameters window -> Node tab -> World Transform Path section -> Path field.
  4. Place the object somewhere in the world.

Adding Objects Moving along the Path#

To make objects move along the path, do the following:

  1. Make the object the child of the path.
  2. Set the same initial positions of the object and of the path.
    Notice
    If the object has coordinates different from the path, it will have the corresponding offset relatively to the path.
  3. To put the object in motion, click Play on the Node tab.
  4. Adjust the playback parameters.

Parameters#

In the Node tab of the Parameters window, you can adjust the following parameters of the transformation path:

Path Sets a path to the new .path file.
Orientation Indicates whether the object should be oriented along the path or keep its initial position.

Playback Parameters#

The WorldTransformPath has the following playback parameters:

Loop Loops the transformation defined by the path.
Update Distance Limit Sets the range of distance from the camera within which the object should be updated.
Time Sets the time, from which the playback of the transformation defined by the path starts.
Notice
If the object is oriented along the path, its transformation corresponds to the path transformation at the specified time. Otherwise, only position of the object is changed.
Speed Sets the speed of playback of the transformation defined by the path.
Notice
Negative values provide the reverse playback.
Play Continues playback of the transformation defined by the path if it has been paused, or starts the playback, if it has been stopped.
Stop Stops the playback of the transformation defined by the path. This function saves the playback position so that playing of the transformation defined by the path can be resumed from the same point.
Last update: 09.04.2021
Build: ()