Movement Place On Ground

From Valve Developer Community
Jump to: navigation, search

Generic Operator Options

Movement Place On Ground

Places a particle on the ground. This can be expensive if used unwisely. In order to optimize the speed of this operator, try to use reference control points or interpolation control points to

reference CP 1
If set, this control point will be checked for movement outside of a tolerance. If the CP moves more than the tolerance, all particles will be placed on the ground again, otherwise, no action will be taken.
reference CP 2
If set, this control point will be checked for movement outside of a tolerance. If the CP moves more than the tolerance, all particles will be placed on the ground again, otherwise, no action will be taken. The reason there are two reference CPs is so that a beam or line of particles can be created between two endpoints. Particles will only be reseated to the ground if one of the end points moves more than the tolerance.
CP movement tolerance
If set, the distance that must be moved by reference/interpolation CPs to trigger the operator to update
interpolation rate
If set, the time over which new ground samples as well as interpolation between positions will occur. If set to 1, for example, every one second a new ground position will be checked and the particle/s will move to that position over the following second, where upon a new sample will be taken.
interpolation distance tolerance cp
If set, the CP that will be checked for movement tolerance above and interpolation all particles ground position based on the CPs distance moved from that position. Note that only rate or distance CP can be used for interpolation and rate will be preferred over distance.