Description
The sweep component allows you to quickly generate spline meshes to sweep the given spline. Its not meant to be a complex system for special game logic, instead this is for when you just want to mesh a spline quickly and without effort. Just one node is required to call the sweep functionality, and it can run in construction script or at runtime. The mesh cleans itself on each run, so it’s fine to call on tick as well, so long as your spline isn’t too complex. This pack comes with a set of profiles to sweep, but you can add your own easily. For best results, use a 1cm² mesh with a number of subdivisions to increase smoothness during deformation.
How to use:
- Add a sweep component to your Blueprint.
- Call “Sweep Spline” function from the component, and feed in your spline. Customise your spline as you want via the component panel.
If you need complex logic, you’ll need to build your splines the usual way, if you just want to get a spline mesh going asap, this plugin is for you.
Caveats:
- This only supports overriding of one material, if you want more you’ll have to loop through the components and update them via Blueprint (There’s an array of SplineMeshComponents you can loop through).
- Changes are only supported in the Blueprint. This component does not support Per-Instance changes, so you’ll need different Blueprints for different attributes.
You can contact us at any time and request that the asset you want be added to the site from the Request Asset section.