This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
Tutorials

Physical Wind

Physical Wind是一个长方体形状的区域,模拟其中的吹风。风速可以逐渐减少直到盒子的边界。

风只会影响符合以下要求的物体:

  • 对象的边界必须在Physical Wind框内。
  • 一种身体必须分配给该对象。

    注意
    Physical Wind只能影响Cloth主体或Rigid主体。如果使用Rigid主体,则形状还应该分配。

风对具有不同物理属性的对象的影响不同。因此,除了编辑Physical Wind参数,您应该调整身体的参数。

例如,如果将一个已分配了Cloth主体的节点放置在Physical Wind节点内,则该节点将根据“ Cloth”主体而不同地“随风摇曳”大量的

风速=(2.0,4.0,2.0);体重= 1.0
风速=(2.0,4.0,2.0);体重= 8.0

也可以看看#

增加物理风#

通过UnigineEditor将Physical Wind添加到场景中:

  1. 跑步UnigineEditor的项目。
  2. 在菜单栏上,单击Create -> Physics -> Physical Wind

  3. 单击世界上的某个位置以放置Physical Wind节点。

新的Physical Wind节点将被添加到UnigineEditor,您将能够通过Parameters窗口对其进行编辑。默认情况下,节点的大小为1×1×1单位。

编辑物理风#

Physical Wind部分(Parameters窗口→Node选项卡)中,可以调整Physical Wind的以下参数:

Edit Size

切换Physical Wind节点的编辑模式。启用后,可以调整大小的Physical Wind框边会用彩色矩形突出显示。要更改边的大小,请拖动相应的矩形。

Physical Mask Physical掩码。 Physical Wind的物理掩码必须比赛物理对象的Physical掩码。否则,风以指定速度在其中流动的Physical Wind不会影响对象。
Size 沿轴的Physical Wind框的大小(单位)。
Threshold

沿轴的阈值距离。该阈值确定从零到全风速逐渐变化的距离。这些值是相对于Physical Wind框的大小。这意味着阈值应小于Physical Wind框的大小。

阈值形成一个看不见的盒子,里面的风吹得满满的速度

Velocity Physical Wind的速度沿轴流动。
Linear damping 指示对象进入风节点时其线速度降低多少的值。值越高,线速度将越低。
Angular damping

指示对象进入风节点时其角速度减小多少的值。值越高,角速度将越低。

注意
Angular damping参数仅影响具有布身已分配。
最新更新: 2024-04-19
Build: ()