|
|
因为Byte型整数值的取值范围是00000000 - 11111111,因此,气功波最大宽度是255
As we all know that the max value of beam trails is 255, you can't make it any wider because of the range of Byte(00000000 - 11111111)
所以如果想要做一个任意宽的气功波,我们就需要想一个新方法
So if we want an arbitrarily width for a trail, we have to think a new idea out.
办法就是:创建两个实体,一个实体跟着另一个实体的坐标进行实时刷新并做出圆周运动,然后再给这个实体加一根Trail的效果:
And here you are: Create two entities, one of them follows the other's origin and moves in a circular motion, then give it a Trail FX:

现在你可能会说这个看起来完全不像气功波啊。对,但是如果我们加大Trail FX的宽度之后呢:
Now I'm sure that you'd say: "Man, This doesn't look like a trail." Yeah indeed it doesn't, but what if we increase the width of the Trail FX:

说明:用这个办法你只需记住一点:气功波的宽度等于圆的直径
Description: In this case, just remember the trail width = the diameter of the circle
|
|