# Efficient Implementation of Dynamic Snake-Like Body in UE5: Seeking Advice on Optimized Approach

**URL:** <https://forums.unrealengine.com/t/efficient-implementation-of-dynamic-snake-like-body-in-ue5-seeking-advice-on-optimized-approach/1580337>\
**Category:** Rendering\
**Tags:** graphics-programming, unreal-engine, Performance, Shaders, question, CPP\
**Created:** [January 1, 2024, 11:18pm UTC](https://forums.unrealengine.com/t/efficient-implementation-of-dynamic-snake-like-body-in-ue5-seeking-advice-on-optimized-approach/1580337 "2024-01-01T23:18:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igni.dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Igni.dev](https://forums.unrealengine.com/u/Igni.dev)\
**Post date:** [January 1, 2024, 11:18pm UTC](https://forums.unrealengine.com/t/efficient-implementation-of-dynamic-snake-like-body-in-ue5-seeking-advice-on-optimized-approach/1580337/1 "2024-01-01T23:18:29Z")

</div>

Hello!  
Platforms: iOS, Android, and PC.  
I want to implement a snake body that can dynamically grow in length, narrow, and bend (simulate body movement, similar to bending in an arc).  
I’m using UE5, and initially, I used components where each body part was a spline mesh. However, this approach proved to be resource-intensive, resulting in numerous draw calls.  
I aim to find a more efficient solution, possibly leveraging vertex shaders. However, I lack the necessary experience and don’t know how to approach the decision-making process to find a solution for my idea.  
Does anyone know how this can be implemented? Please share your advice!
