UE5.1_Niagara高級2.2_ Follow The Leader 1.0
2.2 Follow The Leader 1.0【跟隨領導者1.0】
This emitter spawns a burst of red particles which swirl around the origin.
【此發(fā)射器生成一些圍繞原點的紅色粒子】
This emitter uses the Attribute Reader to allow its' particles to follow a randomly assigned Leader.
【此發(fā)射器使用屬性讀取器使粒子跟隨一個隨機分配的領導者】
The Attribute Reader is defined in Emitter Spawn to allow multiple modules access to it. The emitter to query is defined here.
【在發(fā)射器生成階段定義屬性讀取器,允許多個模組訪問它。只能在此發(fā)射器引用該屬性讀取器】
The number of leader particles is queried, and we build an ID from that number to sample from on later frames.
【查詢領導粒子的數(shù)量,使用此屬性建立ID用于隨后采樣】
Initialize and Update Followers scratch modules perform a simple copy of position or velocity from the leader particle.
【初始化跟隨者本地模組和更新跟隨者本地模組執(zhí)行一個對領導粒子的簡單的位置或速度復制
Pendulum Setup【鐘擺設置】模組
Pendulum Pivot【鐘擺支點】
Pendulum Length【鐘擺長度】
Rigid Pendulum【硬性鐘擺】:為True時,限制粒子位置滿足鐘擺長度,為False時,限制粒子位置不超過鐘擺長度
Pendulum Pivot Offset【鐘擺支點偏移】
Pendulum Pivot Offset Coordinate Space【鐘擺支點偏移坐標空間】
Spring Driven Constraint(Tightness)【彈簧驅(qū)動限制(緊密性)】:施加朝向鐘擺休息軸的彈力
(僅是Spring Driven Constraint):Pendulum Rest Axis【鐘擺休息軸】
Pendulum Constraint【鐘擺限制】模組
Calculate and Output Potential Energy【計算和輸出勢能】