脚本/功能 【更新】FLOW 2.0.2水液体流体系统浮力

Unity插件信息
插件名称: FLOW
插件官网: https://assetstore.unity.com/packages/tools/physics/flow-197014#releases
版本: 2.0.2
解压密码:
素材类型: 脚本/功能


























Easy To Use ― Integrate FLOW into your project with just a few clicks, no programming required. To help you understand how each feature works there are many tutorial demo scenes, which take you step-by-step through each feature. Once you've finished with the tutorials you can look at the demo scenes, which combine multiple features to create various game scenarios.

Incredible Performance ― All features of FLOW have been heavily optimized with GPU acceleration, batching, caching, and much more. This allows you to enjoy consistent performance regardless of how much fluid you add to your scene. You can also quickly adjust the simulation resolution for lower end mobile devices.

Large Scale ― FLOW allows you simulate fluids across scenes that are kilometers in size with great performance, even if you add fluids everywhere.

Terrains & Custom Objects ― FLOW is designed to work with terrain scenes, 3D object scenes, and even combinations of both. Simply add colliders to your objects, pick the layers you want, and FLOW will do the rest.

Add/Move/Remove Blocking Objects ― Simply add the FlowObject component to your GameObject, and the fluid simulation will automatically react to any changes you make to it. This allows you to create or destroy dams, redirect water flow, and much more!

Full Source Code Included ― Although FLOW doesn't require any programming to use, if you are a programmer then feel free to tweak the code as much as you like, it's designed to be easy to modify. You can also access all features from the simple API.

Buoyancy Simulation ― If you want to make objects float or sink then just add the FlowFloat component to them, and they will automatically interact with the fluid simulation. This can also simulate hydrodynamic drag, and keep upright torque.

Edge Rendering ― If you want to simulate a miniature or diorama style scene then you can enable fluid edge rendering, which will make the fluid look like it was sliced out of a larger piece.

Underwater Rendering ― With just a few clicks you can render fluids when the camera goes underwater, with full control over the underwater fog distance. The transition from above to under water is seamless too!

Low Poly Rendering ― Easily switch between a smooth realistic fluid look, and a low-poly faceted style.

Unlimited Fluid Types ― Need more fluid types than the included water/mud/oil/etc? No problem, just add the FlowFluid component to your scene or a prefab and you can make your own, with full control over the color, viscosity, opacity, etc.

Mix Fluids Together ― Feel free to add as many fluid types as you want to the scene. When they collide they will all interact and mix together seamlessly!

Wetness Simulation ― Need to simulate the ground getting wet from fluids flowing over the surface, and for the ground to slowly dry? FLOW comes with demo scenes, shaders, and materials to make your scenes look even more impressive with this effect.

Drain Fluid ― The Remove Fluid modifier can be used to remove/drain fluid from a specific area. All objects that are floating nearby will also be sucked toward the drain hole. This can also be used to remove fluid above or below a specific height.

Fluid Forces ― Need to freeze your fluid in place, or force it to move in a specific direction? The force modifier features can be used to do this in just a few clicks, and can even be made to work using a custom shape/mask texture.

Read Fluid Data ― Need to sample the fluid height/color/etc at a specific 3D point? No problem, just add the FlowSample component to any GameObject and it will automatically read the fluid data beneath. You can even detect what kind of fluid is being read based on a list of possible fluids. This feature works asynchronously, so there's almost no performance penalty!

Paint Fluids ― Need to paint fluids under the mouse/finger as you drag across the screen? The FlowDrawModifier component can be used to paint any fluids you like - it can even be used to drain fluid, add forces, and all other fluid modifier features.

Fluid Triggers ― Need to perform a custom action when a certain amount of fluid appears in a specific area? No problem, just add the FlowTrigger component to any GameObject, and connect its inspector event to anything you like, no code required.

Particle System ― Normal particles can't interact with fluids or store fluid information, so FLOW comes with its own particle system that does. This allows you to quickly emit streams of particles that turn into fluid when they hit the ground or the fluid surface.


易于使用——只需点击几下即可将 FLOW 集成到您的项目中,无需编程。 为了帮助您了解每个功能的工作原理,有许多教程演示场景,可引导您逐步了解每个功能。 完成教程后,您可以查看演示场景,它结合了多种功能来创建各种游戏场景。

  令人难以置信的性能——FLOW 的所有功能都经过了 GPU 加速、批处理、缓存等方面的大幅优化。 这使您可以享受一致的性能,无论您向场景添加多少流体。 您还可以快速调整低端移动设备的模拟分辨率。

  大规模 - FLOW 允许您模拟数千米大小的场景中的流体,即使您在任何地方添加流体,也具有出色的性能。

  地形和自定义对象 - FLOW 旨在处理地形场景、3D 对象场景,甚至两者的组合。 只需将碰撞器添加到您的对象,选择您想要的图层,FLOW 将完成剩下的工作。

  添加/移动/删除阻塞对象——只需将 FlowObject 组件添加到您的游戏对象中,流体模拟就会自动对您对其所做的任何更改做出反应。 这可以让你建造或摧毁水坝、改变水流方向等等!

  包含完整的源代码——尽管 FLOW 不需要任何编程即可使用,但如果您是程序员,则可以随意调整代码,它的设计易于修改。 您还可以通过简单的 API 访问所有功能。

  浮力模拟——如果你想让物体漂浮或下沉,那么只需向它们添加 FlowFloat 组件,它们就会自动与流体模拟交互。 这还可以模拟流体动力阻力,并保持直立扭矩。

  边缘渲染——如果您想模拟微型或西洋镜风格的场景,那么您可以启用流体边缘渲染,这将使流体看起来像是从较大的块中切下来的。

  水下渲染——只需点击几下,您就可以在相机进入水下时渲染流体,并完全控制水下雾距离。 从水上到水下的过渡也是无缝的!

  低多边形渲染 - 在平滑逼真的流体外观和低多边形多面样式之间轻松切换。

  无限的流体类型 ― 需要比附带的水/泥浆/油/等更多的流体类型吗? 没问题,只需将 FlowFluid 组件添加到您的场景或预制件中,您就可以制作自己的组件,并完全控制颜色、粘度、不透明度等。

  将流体混合在一起 - 您可以随意向场景中添加任意数量的流体类型。 当它们碰撞时,它们会相互作用并无缝地混合在一起!

  湿度模拟 ― 需要模拟地面因流过表面的液体而变湿,以及地面慢慢干燥吗? FLOW 附带演示场景、着色器和材质,使您的场景通过此效果看起来更加令人印象深刻。

  排出流体 ― 移除流体修改器可用于从特定区域移除/排出流体。 所有漂浮在附近的物体也会被吸向排水孔。 这也可用于去除高于或低于特定高度的液体。

  流体力——需要将流体冻结在适当的位置,或迫使其沿特定方向移动? 只需单击几下即可使用力修改器功能来完成此操作,甚至可以使用自定义形状/蒙版纹理来工作。

  读取流体数据 ― 需要在特定 3D 点对流体高度/颜色/等进行采样? 没问题,只需将 FlowSample 组件添加到任何 GameObject 中,它就会自动读取下面的流体数据。 您甚至可以根据可能的液体列表来检测正在读取的液体类型。 此功能异步工作,因此几乎没有性能损失!

  绘制流体 ― 在屏幕上拖动时需要在鼠标/手指下绘制流体吗? FlowDrawModifier 组件可用于绘制您喜欢的任何流体 - 它甚至可用于排出流体、添加力和所有其他流体修改器功能。

  流体触发器 ― 当特定区域出现一定量的流体时需要执行自定义操作吗? 没问题,只需将 FlowTrigger 组件添加到任何 GameObject,并将其检查器事件连接到您喜欢的任何内容,无需任何代码。

  粒子系统——普通粒子无法与流体相互作用或存储流体信息,因此 FLOW 拥有自己的粒子系统。 这使您可以快速发射粒子流,当它们撞击地面或流体表面时,这些粒子流会变成流体。





作者 cg小白兔 发表于 2023-10-9 11:53:12

kuanyidairen

水是不好表现的。。。。。。。
发表于 2023-11-8 12:37:14

kuanyidairen


水是不好表现的。。。。。。。
水是不好表现的。。。。。。。
水是不好表现的。。。。。。。
发表于 2024-5-17 07:37:47
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布7457

热门作品推荐
glow
中国古风家具30个中式古代灯笼吊灯宫灯台灯
glow
Frozen GUI Pack 1.7 冬季冰雪主题游戏UI界
glow
中国风古典边框中式花纹样祥云PSD图案PNG素
glow
Sand VFX 适配UE5.0+风沙漠沙子撞击沙地冲
glow
Voyager Third Person Shooter V2 2.0.1 适
glow
Tornado Generator - Niagara Fluids 适配U
glow
Nuclear winter 适配UE5.2+末日后世界苏联
glow
Snapping Helper 1.41 适配UE5.5
glow
High school Science Lab Classroom - 90&#
glow
Survival Man 适配UE5.5+生存游戏男性幸存