# Camera/Player follows spline in 1st Person

**URL:** <https://forums.unrealengine.com/t/camera-player-follows-spline-in-1st-person/33299>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [June 23, 2015, 2:36pm UTC](https://forums.unrealengine.com/t/camera-player-follows-spline-in-1st-person/33299 "2015-06-23T14:36:50Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Mosel3y](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mosel3y](https://forums.unrealengine.com/u/Mosel3y)\
**Post date:** [June 24, 2015, 10:05am UTC](https://forums.unrealengine.com/t/camera-player-follows-spline-in-1st-person/33299/11 "2015-06-24T10:05:43Z")

</div>

The spline shouldn’t be a part of the pawn, it should be a separate blueprint actor with just a spline component in it.

The DistanceAlongSpline variable I used is just a float I’ve added, you can call it anything you like. So just add a float variable, with a default value of 0. If you drag that into the graph, you’ll have the option to set and get it, which is all I am doing there.

The Plus node is just a node for addition of two floats, if you type “+” in the menu you will see “float+float”

If you drag off from MySpline there and type in Get World Location, does it come up?

Edit: Also, I just tried and I can’t drag the pawn into the scene either, but if you have it selected and right click in the map you can add it that way

---

_[View the full topic](https://forums.unrealengine.com/t/camera-player-follows-spline-in-1st-person/33299)._
