Simulates a pressurized nozzle that sprays an air jet within a configurable cone of effect.
Latest Version: 1.0.0
Size: 4 KB
Publisher: ProtoTwin (contact@prototwin.com)
The AirGun component simulates a pressurized nozzle that sprays an air jet within a configurable cone of effect.
It casts rays to find where this jet would strike surfaces and estimates how much of the jet's total thrust those hit points should receive.
It uses a turbulent jet spreading model with Gaussian radial decay, assuming compressible flow conditions at the nozzle.
Increase the number of rays for greater physical accuracy, at the expense of increased computational cost. The component will always cast a ray down the center of the cone. All other rays are randomly sampled from the cone of effect each frame.
The component has the following IO: