cg小白兔 发表于 2024-7-25 14:49:28

Magic Spline Plugin 适配UE5.0

















MagicSpline is a plugin allowing the creation SplineMeshActor in your levels to generate and edit meshes following a spline mesh (static meshes or spline meshes with deformation). It’s a powerful level design tool that can be used in many ways (walls, roads, pipes, chains, fences, blocking volumes, etc.) in an optimized way.

it's an optimized C++ plugin but you don't need to know programming to use it. Like in the video in the description, you just have to create a new blueprint based on the class SME_SplineMeshActor. Then you can add this blueprint actor to your levels and just edit the settings in the details panel. The plugin will be automatically installed on your engine.

If you know C++ and would like to add some extra functionality to this plugin, it's also possible as the source code is provided.

技术细节
Main Features:
Layers (group of segments and settings allowing multiple meshes attached to the same spline)
Collisions (enabling collisions on spline mesh is possible but very inefficient but you can create a separate layer to handle collisions with invisible static meshes in an efficient way)
Offsets
Twist (curve the meshes to create chains, screws, etc...)
Overrides Segments (use different settings for specific segments of the spline)
Imperfections
Branches
Physics (with UE5 only)
Blocking volumes (easy way to create a chain of blocking volumes)
Gaps
Mesh distribution modes (by mesh length, by segment count, Per spline points, hybrid)
Runtime animations (set the actor to Movable and call the function "UpdateSplineAtRuntime" from BP or C++ )

It's possible to bake the all actors into a StaticMesh (Main menu > Actors > Merge Actors).

You can add multiple meshes into the same layer to generate randomness, each segment of the spline will select a mesh randomly from the list of meshes.


MagicSpline 是一款插件,允许在关卡中创建 SplineMeshActor,以生成和编辑花键网格(静态网格或带变形的花键网格)。它是一款功能强大的关卡设计工具,能以优化的方式用于多种用途(墙壁、道路、管道、链条、栅栏、阻挡体等)。

它是一个优化的 C++ 插件,但使用它并不需要懂编程。就像视频中描述的那样,您只需创建一个基于 SME_SplineMeshActor 类的新蓝图。然后,您就可以将该蓝图添加到关卡中,只需在细节面板中编辑设置即可。插件将自动安装到您的引擎上。

如果你懂 C++ 并想为该插件添加一些额外的功能,也是可以的,因为我们提供了源代码。

技术细节
主要功能:
层(线段组和设置,允许多个网格连接到同一条直线上)
碰撞(在样条网格上启用碰撞是可能的,但效率很低,但你可以创建一个单独的层,以有效的方式处理与不可见静态网格的碰撞)
偏移
扭曲(对网格进行弯曲以创建链条、螺丝等)
覆盖线段(对花键的特定线段使用不同的设置)
缺陷
分支
物理(仅限 UE5)
阻塞体块(创建阻塞体块链的简单方法)
间隙
网格分布模式(按网格长度、按线段数、按样条点、混合模式)
运行时动画(设置动作





页: [1]
查看完整版本: Magic Spline Plugin 适配UE5.0