This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Animations-Related Classes
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
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Физический ветер (Physical Wind)

The Physical Wind is a cuboid shaped area that simulates the blowing wind inside of it. The wind velocity can gradually decrease up to box boundaries.Physical Wind - это область в форме куба, которая имитирует дующий внутри нее ветер. Скорость ветра может постепенно уменьшаться до границ коробки.

The wind will affect only an object that meets the following requirements:Ветер воздейтсвует только на объекты, удовлетворяющие следующим требованиям:

  • The object's bounds must be inside the Physical Wind box.Границы объекта должны находиться внутри поля Physical Wind.
  • A physical body must be assigned to the object. Объекту должно быть присвоено физическое тело.

    Примечание
    The Physical Wind can affect only a Cloth body or a Rigid body. If the Rigid body is used, a shape should be also assigned.Physical Wind может влиять только на тело Cloth или тело Rigid. Если используется тело Rigid, то ему также должна быть назначена форма (shape).

The wind differently affects objects with different physical properties. Therefore, in addition to editing Physical Wind parameters, you should adjust parameters of the physical body.Ветер по-разному воздействует на объекты с разными физическими свойствами. Поэтому помимо настройки параметров Physical Wind , вам следует настроить параметры физического тела.

For example, if you place a node, to which the Cloth body is assigned, inside the Physical Wind node, the node will "wave in the wind" differently depending on the Cloth body mass: Например, если вы поместите узел, которому назначено тело Cloth, внутри узла Physical Wind, узел будет "развеваться по ветру" по-разному в зависимости от массы тела Cloth:

Wind velocity = (2.0,4.0,2.0); Body mass = 1.0Скорость ветра = (2.0,4.0,2.0); Масса тела = 1,0
Wind velocity = (2.0,4.0,2.0); Body mass = 8.0Скорость ветра = (2.0,4.0,2.0); Масса тела = 8,0

See alsoСмотрите также#

Adding Physical WindДобавление физического ветра#

To add a Physical Wind to the scene via UnigineEditor:Чтобы добавить Physical Wind в сцену через UnigineEditor:

  1. Run the project with UnigineEditor.Запустите проект с UnigineEditor.
  2. On the Menu bar, click Create -> Physics -> Physical Wind.В главном меню выберите Create -> Physics -> Physical Wind.

  3. Click somewhere in the world to place the Physical Wind node.Щелкните где-нибудь в мире, чтобы разместить узел Physical Wind.

A new Physical Wind node will be added to UnigineEditor, and you will be able to edit it via the Parameters window. By default, the size of the node is 1×1×1 unit.Новый узел Physical Wind будет добавлен в UnigineEditor, и вы сможете редактировать его через окно Parameters. По умолчанию размер узла равен 1×1×1.

Editing Physical WindРедактирование физического ветра#

In the Physical Wind section (Parameters window -> Node tab), you can adjust the following parameters of the Physical Wind:В разделе Physical Wind (окно Parameters → вкладка Node) вы можете настроить следующие параметры Physical Wind:

Edit Size

Toggles the editing mode for the Physical Wind node. When enabled, the Physical Wind box sides that can be resized are highlighted with the colored rectangles. To change the size of a side, drag the corresponding rectangle.Переключает режим редактирования для узла Physical Wind. Когда этот параметр включен, стороны блока Physical Wind, размер которых можно изменять, выделяются цветными прямоугольниками. Чтобы изменить размер стороны, перетащите соответствующий прямоугольник.

Physical Mask Physical mask. The physical mask of the Physical Wind must match the Physical mask of the physical object. Otherwise, the Physical Wind, inside which the wind flows with the specified velocity, won't affect the object.Physical маска. Физическая маска Physical Wind должна совпадать с маской Physical физического объекта. В противном случае Physical Wind, внутри которого ветер дует с заданной скоростью, не повлияет на объект.
Size Size of the Physical Wind box along the axes in units.Размер поля Physical Wind по осям в единицах.
Threshold

Threshold distance along the axes. The threshold determines the distance of gradual change from zero to full wind velocity. These values are relative to the size of the Physical Wind box. It means that the threshold values should be less than the size of the Physical Wind box.Пороговое расстояние по осям. Порог определяет расстояние постепенного изменения скорости ветра от нуля до полной. Эти значения относятся к размеру блока Physical Wind. Это означает, что пороговые значения должны быть меньше размера поля Physical Wind.

The threshold values form an invisible box, inside which the wind blows with full velocity:Пороговые значения образуют невидимый паралледепипед, внутри которого дует ветер с максимальной скоростью :

Velocity Velocity of the Physical Wind flow along the axes.Скорость потока Physical Wind по осям.
Linear damping Value indicating how much the linear velocity of the objects decreases when they get inside the wind node. The higher the value is, the lower the linear velocity will be.Значение, показывающее, насколько уменьшается линейная скорость объектов, когда они попадают внутрь узла ветра. Чем выше значение, тем ниже будет линейная скорость.
Angular damping

Value indicating how much the angular velocity of the objects decreases when they get inside the wind node. The higher the value is, the lower the angular velocity will be.Значение, показывающее, насколько уменьшается угловая скорость объектов, когда они попадают внутрь узла ветра. Чем выше значение, тем меньше будет угловая скорость.

Примечание
Angular damping parameter affects only objects with a Cloth body assigned.Параметр Angular damping влияет только на объекты с назначенным телом Cloth.
Последнее обновление: 29.04.2021
Build: ()