全新Twinmotion产品现已开放免费下载

Magic Spline Plugin

BoBohn - 代码插件 - 2022/08/03

Improved Spline Mesh Editor Plugin

  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27, 5.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.


Youtube video: Demo of Magic Spline Plugin

技术细节

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.


Module: "SplineMeshEditor" [Runtime] 

Youtube video: Demo of Magic Spline Plugin

Documentation included: Tooltips + PDF explaining each settings

Demo level included in the content folder of the plugin

Discord: https://discord.gg/cRpPHgjJdM