# Player Pawn won't follow spline track rotation most of the time

**URL:** <https://forums.unrealengine.com/t/player-pawn-wont-follow-spline-track-rotation-most-of-the-time/2260142>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [January 4, 2025, 11:56pm UTC](https://forums.unrealengine.com/t/player-pawn-wont-follow-spline-track-rotation-most-of-the-time/2260142 "2025-01-04T23:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous\_3ecbc35bb39b04265216db187ae045d2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_3ecbc35bb39b04265216db187ae045d2](https://forums.unrealengine.com/u/Anonymous_3ecbc35bb39b04265216db187ae045d2)\
**Post date:** [January 4, 2025, 11:56pm UTC](https://forums.unrealengine.com/t/player-pawn-wont-follow-spline-track-rotation-most-of-the-time/2260142/1 "2025-01-04T23:56:10Z")

</div>

Hey so I have this project i’m working on and basically due to how the game works i’ve made the player a pawn with floating movement. The premisce of the game is it’s an infinite scroller where you have to spam a button to move faster and pieces of track spawn in as you progress. I have 3 pieces that spawn. 1 Straight piece and 2 Curved pieces (They’re the same just flipped).

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/a/20a944e13c6fa2d53f2e930b275feaecd8f5a789.png)  
This is how i’ve set up my rotation and it does rotate-- Most of the time. Sometimes it will follow the track perfect, other times it will refuse to rotate or just jump off the track for a split second. I can’t use the normal way people make character rotate along a spline as it’s a pawn so i’ve gone this way to get the car to follow the track. Any other information you need I am more than happy to provide.

I have a string that prints out the rotation and when it doesn’t rotate, it produces the same values as what it would if it did rotate. Any help would be much appreciated!

---

<div class="post-metadata">

**Author:** ![Anonymous\_3ecbc35bb39b04265216db187ae045d2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_3ecbc35bb39b04265216db187ae045d2](https://forums.unrealengine.com/u/Anonymous_3ecbc35bb39b04265216db187ae045d2)\
**Post date:** [January 5, 2025, 12:01am UTC](https://forums.unrealengine.com/t/player-pawn-wont-follow-spline-track-rotation-most-of-the-time/2260142/2 "2025-01-05T00:01:28Z")

</div>

I should also note that the scripts are in the pieces themselves. Same for the script attaching the player, they are contained in the individual pieces
