# Testing SLICE and CUT meshes and skeletal meshes

**URL:** <https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [May 17, 2017, 4:10pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325 "2017-05-17T16:10:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 17, 2017, 4:10pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/1 "2017-05-17T16:10:36Z")

</div>

[Slice Marketplace page](https://www.unrealengine.com/marketplace/en-US/slug/slice-meshes-skeletons-projectiles)

[Play the Demo](https://drive.google.com/open?id=1jLMKEa2zja8OXcvhooPK_VUEVYsNBnTH)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/8/b08e47bbd191d767046d6a2a82ae1bb3085870e2.jpeg "SLICE Tutorial for the Marketplace Slice Meshes, Skeletons, Projectiles package") ](https://www.youtube.com/watch?v=e-web9I8g9s)

[Documentation](https://drive.google.com/open?id=1JayPRIS81wJO7afzKF5sYqPxgT5YBJdy)

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 17, 2017, 5:28pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/2 "2017-05-17T17:28:41Z")

</div>

Here the issue on skeletal idle animation…head static mesh is initially attached to socket head, but not procedural mesh. Need to fix.  
In the video below you can see the first cut with static skeletal mesh, then I set the Idle animation and do a second cut but head is never attached to socket.

Any ideas how to make also procedural mesh be attached to head socket?

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/5/85580fd3f811558b9de058fb9ea561f0f4edc8d5.jpeg "Skeletal idle animation CUT socket Issue") ](https://www.youtube.com/watch?v=dDRVG2UyxXc)

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 17, 2017, 6:56pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/3 "2017-05-17T18:56:04Z")

</div>

Choose the angle of the Slice by rotating the Cut plane.  
Red face is the one that slices the new cut piece, while the green face is the one where the original mesh will stay.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/7/357db5c1166dd419d5298ee66e8acd0d258331aa.jpeg "Rotating Cut Plane for more precise Slices") ](https://www.youtube.com/watch?v=fqm8MKJlhms)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9d7a9e0b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9d7a9e0b](https://forums.unrealengine.com/u/anonymous_user_9d7a9e0b)\
**Post date:** [May 17, 2017, 8:35pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/4 "2017-05-17T20:35:57Z")

</div>

Looking neat mate!

Planing on sharing?

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 18, 2017, 6:55am UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/5 "2017-05-18T06:55:45Z")

</div>

As soon as I fix the animation cut, I’ll share the logics behind (100% blueprint). 🙂

Consider that to cut a skeleton body mesh you need to previously import the bone mesh you want to be cut as a static mesh obj.(I’ve done only for the the head).  
It is not difficult to separate a single bone mesh from a skeletal mesh body and save it as a single obj (20 min tutorial with blender, which is also free download).  
The rest of the process is all via blueprint.

GOAL:  
A more realistic scene is to adapt a sword or katana blade to the rotation of the cut plane and adjust the animation of the player based on the sword rotation…which is somenthing I have not consider and I’m looking forward to.  
Precise cut blade control should be cool especially in a slow motion combat scene.  
Pausing the animation during the cut and going in progressive slow motion after the cut with a body ragdoll reaction should complete the realism.

Hope to reach the end of all this and share the bprints in the next days.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9d7a9e0b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9d7a9e0b](https://forums.unrealengine.com/u/anonymous_user_9d7a9e0b)\
**Post date:** [May 18, 2017, 8:54am UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/6 "2017-05-18T08:54:49Z")

</div>

> [@](#):
>
> GOAL:  
> A more realistic scene is to adapt a sword or katana blade to the rotation of the cut plane and adjust the animation of the player based on the sword rotation…which is somenthing I have not consider and I’m looking forward to.  
> Precise cut blade control should be cool especially in a slow motion combat scene.  
> Pausing the animation during the cut and going in progressive slow motion after the cut with a body ragdoll reaction should complete the realism.
> 
> Hope to reach the end of all this and share the bprints in the next days.

Not sure the actual process is doable in practice. I mean, you’ll probably have to mask it using some neat graphism, but slowly cutting the mesh… An object has a lot of tention between its parts, when you cut it, the tension disappearing is what causes the “ripple” effect. In UE4, they are just meshes, so even if you cut it, unless you apply some force which actually causes the mesh to break up slowly, you’ll only see the sword going in, like if it was overlapping, but you wont get a true slow-mo cutting effect.

Does this make sense?

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 18, 2017, 12:22pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/7 "2017-05-18T12:22:59Z")

</div>

Yes fully agree …but I must test it before because I need to see with my eyes what happens when a blade collides with the head mesh in slow motion.  
I have already seen the collision slow motion distortion effect during destructions and the result was that slowmotion during the missile hit on a group of mesh cubes created a huge increase of explosion (which I liked and used as a power missile…going in slow motion right after the hit for a 0.1 sec and then back to time delay = 1. See my reverse destruction video on the red cube [Reverse Destruction v3 - YouTube](https://www.youtube.com/watch?v=os8ZF3qp03Y) )

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 18, 2017, 12:29pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/8 "2017-05-18T12:29:16Z")

</div>

CUT SLICES FIXED ON SKELETAL MESHES ANIMATION! Now is possible to cut head (or any other mesh bone) during an animation.  
I have improved the cut plane control: keeping the button pressed for more than 1 sec makes the plane rotate, less than 1 sec performs the cut…better because only 1 button controls the cut plane.

See also that Cut plane is slicing in slow motion too. Will see if a katana blade will be able to cut like the cut plane I use here…if not the blade will just overlap meshes (no collision) and will follow the cut plane coords…or something similar.

Here the video…finally a multiple cut on the moving skeletal mesh !!! 😃

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/7/82760bdccab88a3c177b00003366679ba7f823c4.jpeg "CUT SLICE DURING ANIMATION FIXED") ](https://www.youtube.com/watch?v=cf2mjgBUb-Q)

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 18, 2017, 1:10pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/9 "2017-05-18T13:10:03Z")

</div>

,  
totally right. I tested.  
the slice piece in slowmotion skips far away! I’ve tried changing the mass but nothing.  
Well, something to consider during a slowmotion.  
Perhaps using some extra opponent forces could fix.

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [May 18, 2017, 2:51pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/10 "2017-05-18T14:51:29Z")

</div>

@  
Firstly, amazing!

Secondly, I’m trying to figure out why the pieces react so differently during slow motion, I’m wondering it could have something to do with physics iterations not adjusting to stay synced with the time dilation?

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 18, 2017, 4:26pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/11 "2017-05-18T16:26:50Z")

</div>

Thanks, colliding in slowmotion is crazy. Pieces skip away so fast.  
The only workaround I found for the moment is to change world location of the cut piece when generated in order to locate it out of any collision area…ie 10 cm distant from the cut in the direction normal to the cut plane…then add a radial force on it.

The fact is that any kind of collision in slow motion is out of control.

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [May 18, 2017, 4:43pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/12 "2017-05-18T16:43:48Z")

</div>

@

I use slomo time dilation in my project, collision works normal. But I have no dynamic cutting samples, so this must be an issue with PMC.

Also, I suggest looking into “Per Actor Time dilatation” perhaps the newly spawned pieces somehow are not included in time dilation, and need to be explicitly added to slomo on creation.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [May 19, 2017, 3:54am UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/13 "2017-05-19T03:54:52Z")

</div>

Hi , I like what you’re doing. I’ve watched some of your other videos like the _Fractal Battle Test_, _Rag Doll Testing_ and _Reverse Time Freeze_. You wouldn’t happen to be developing a [Action RPG/FPS Hybrid](https://arcadekomodo.com/headlessstudios/) in which the main Protagonists dispatches Giants Monsters and Monster Hordes with Swords & Gunplay and Time-Space Manipulation? LOL

Keep up the Awesome work!

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 19, 2017, 5:17pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/14 "2017-05-19T17:17:26Z")

</div>

Thanks TechLord! You put a lot of ingridients in your project there 🙂 Hope is a success.  
I keep focused on these cuts & slices, then back to complete the fractal project.  
By the way I’ve seen your videos too…love the [Golem](https://www.youtube.com/watch?v=A_AtD1xkAt4) concept! 🙂

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 20, 2017, 12:39am UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/15 "2017-05-20T00:39:55Z")

</div>

LIKE ROSE PETALS  
Slicing in slowmotion has been improved. Slices don’t skip away anymore and a good slowmotion animation is visible.  
A katana blade animation between these slices will not be easy but will for sure be my next video!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/e/c1e4c1ab47a0119c065dbb3fa203169441c82c4e.jpeg "Slow motion slicing 'LIKE ROSE PETALS'") ](https://www.youtube.com/watch?v=66JkONcH_6I)

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [May 20, 2017, 3:22am UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/16 "2017-05-20T03:22:33Z")

</div>

> [@;711436](#):
>
> LIKE ROSE PETALS  
> Slicing in slowmotion has been improved. Slices don’t skip away anymore and a good slowmotion animation is visible.  
> A katana blade animation between these slices will not be easy but will for sure be my next video!  
> [https://youtube.com/watch?v=66JkONcH\_6I](https://youtube.com/watch?v=66JkONcH_6I)

That is really cool. Rose Pedals…Rose, Slicing to sculpt a Rose…I’m thinking Ice Sculpting with proc mesh slicing!

> [@;711274](#):
>
> Thanks TechLord! You put a lot of ingridients in your project there 🙂 Hope is a success.  
> I keep focused on these cuts & slices, then back to complete the fractal project.  
> By the way I’ve seen your videos too…love the [Golem](https://www.youtube.com/watch?v=A_AtD1xkAt4) concept! 🙂

Thank you very much. You can read more about GOLEMCraft [here](https://forums.unrealengine.com/showthread.php?55150-GOLEM-Entity-Construction-System). A new version is in the works and I have big plans for it in our game product for Creatures, Character Armor, Weapons, and Props. Prior to Proc Mesh Slicing, I planned to implement dynamic dismemberment/destruction by reversing the collage construction rapidly with impulse physics. Now, I think I’m going to incorporate both techniques.

What is your goal with the Fractal Project? I assume you’re using Fractals to Procedurally generate the environment. I’m a huge fan of Proc Gen / Semi-Proc, and I use various proc generators in my game dev. I personally thinks its more powerful way to build a game, leveraging the content creation power of the engine. The smaller/granular the proc generators, the better macro results to avoid repetitive design. My latest kick, is proc gen interiors and furniture props.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9d7a9e0b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9d7a9e0b](https://forums.unrealengine.com/u/anonymous_user_9d7a9e0b)\
**Post date:** [May 20, 2017, 9:51am UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/17 "2017-05-20T09:51:16Z")

</div>

> [@;711436](#):
>
> LIKE ROSE PETALS  
> Slicing in slowmotion has been improved. Slices don’t skip away anymore and a good slowmotion animation is visible.  
> A katana blade animation between these slices will not be easy but will for sure be my next video!  
> [https://youtube.com/watch?v=66JkONcH\_6I](https://youtube.com/watch?v=66JkONcH_6I)

How did you manage to fix your problem? 🙂

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 20, 2017, 11:55am UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/18 "2017-05-20T11:55:05Z")

</div>

Here a screnshot of the bprint part…is a workaround but works very good!  
 ![9eb0186626ee34b4361a6d0ac06a6864e311f94d.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

---

<div class="post-metadata">

**Author:** ![VerumBit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/verumbit/32/750218_2.png) [@VerumBit](https://forums.unrealengine.com/u/VerumBit)\
**Post date:** [May 20, 2017, 12:02pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/19 "2017-05-20T12:02:21Z")

</div>

Forgot to mention that every slice receives a radial impulse strength = 0 (and radius=300 but not relevant here).  
Basically if we cut and then don’t move the player anymore, after 100 secs any slice that is still inside the capsule component volume will skip away. I can increase from 100 to 1000 to avoid risks if needed.

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [May 20, 2017, 12:11pm UTC](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325/20 "2017-05-20T12:11:35Z")

</div>

Looks amazing!

The radial force still looks like it’s a bit much, perhaps it could be scaled by a value which equates to the time dilation?

[Next page](https://forums.unrealengine.com/t/testing-slice-and-cut-meshes-and-skeletal-meshes/92325.md?page=2)
