PVelocity ConvertBasic 基础Parameter 参数

Parameter

参数

You can optionally enter the speed that should be converted to a velocity.

您可以选择输入应该转换为速度的速度。

Speed[-∞..+∞]

速度[-∞ . . + ∞]

This value is the speed measured in units per second.

这个值是以每秒单位计量的速度。

Axis

轴心

This normal sets the direction of the velocity. For example, a value of (0;0;1) will cause the particles to move in the direction of their Zaxes. However, since this node is not directly connected to a particle stream, you can use it to calculate velocity for any purpose, not just to set the velocity of the particles.

这个法线设置了速度的方向。例如,值(0; 0; 1)将导致粒子沿着它们的 Zaxes 方向移动。然而,由于这个节点没有直接连接到一个粒子流,你可以用它来计算任何目的的速度,而不仅仅是设置粒子的速度。

This example shows two ways to convert a vector and a scalar to another vector of the same direction as the first vector but with the scalar’s length; this can be useful when you want to construct a velocity vector with a known speed. The lower nodes show how you would do it without PVelocityConvert (first normalize the vector to a length of 1 and then multiply it with the scalar). The top example shows how to do the same thing in fewer steps using PVelocityConvert. 这个例子展示了两种将矢量和标量转换为与第一个矢量方向相同但是具有标量长度的另一个矢量的方法。下面的节点显示了如何在不使用 PVelocityConvert 的情况下完成此操作(首先将向量规范化为1的长度,然后将其与标量相乘)。上面的例子展示了如何使用 PVelocityConvert 以更少的步骤完成相同的事情

Velocity[XYZ ]

速度[ XYZ ]•

Outputs the velocity, as a vector, computed from the Speed and Axis values. If you want this value to control the velocity of particles, connect the port to the Velocity input port of a PSetData node.

输出速度,作为一个向量,从速度和轴值计算。如果希望此值控制粒子的速度,请将端口连接到 PSetData 节点的 Velocity 输入端口。