2.2 - 通过全局矢量场驱动粒子运动

概述效果库示例关卡。

Windows
MacOS
Linux

image050.png

全局矢量场(Global Vector Field) 类似于前一个示例中的局部矢量场,但它不是发射器内部的模块,而是一个Actor,您可以将其放置在关卡中,并根据需要对其进行定位和编辑。就像在局部矢量场中时一样,GPU粒子只有在矢量场的体积内才会受到矢量场的力的影响。

若要设置它,您只需在关卡中放置一个矢量场体积,并向发射器添加一个全局矢量场(Global Vector Field)模块。如此即可!

在本例中,您可以选择关卡中的矢量场(VectorFieldVolume1)并沿着Y轴移动它。当粒子通过矢量场时,它们的运动会受到矢量场的影响。

image052.png

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback