# Match spline shape to a smaller spline

**URL:** <https://forums.unrealengine.com/t/match-spline-shape-to-a-smaller-spline/2227857>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 17, 2024, 12:01pm UTC](https://forums.unrealengine.com/t/match-spline-shape-to-a-smaller-spline/2227857 "2024-12-17T12:01:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcCook](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MarcCook](https://forums.unrealengine.com/u/MarcCook)\
**Post date:** [December 17, 2024, 12:01pm UTC](https://forums.unrealengine.com/t/match-spline-shape-to-a-smaller-spline/2227857/1 "2024-12-17T12:01:57Z")

</div>

I currently have a single large spline in the world, a spline with 4 points which matches the closest locations on the spline and finally a separate Arrow spline attached to the player which will create a series of arrows for a guidance path.

I want the player arrow spline to follow the shape of the spline with the but to remain directly in front of the player. Currently anything i try has the arrows moving to the spline in world space or if i do this locally the location isnt right.

Im assuming im missing some math to keep this spline updating but not moving around but im absolutely stuck right now. Any ideas?

---

<div class="post-metadata">

**Author:** ![Caroo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/caroo/32/1008955_2.png) [@Caroo](https://forums.unrealengine.com/u/Caroo)\
**Post date:** [December 17, 2024, 9:33pm UTC](https://forums.unrealengine.com/t/match-spline-shape-to-a-smaller-spline/2227857/2 "2024-12-17T21:33:01Z")

</div>

I assume you just forgot to convert the transforms from world to local?
