# Mesh aiming at location flips over

**URL:** <https://forums.unrealengine.com/t/mesh-aiming-at-location-flips-over/417260>\
**Category:** Community & Industry Discussion\
**Tags:** rotation, look-at, unreal-engine, Spline, question\
**Created:** [February 14, 2018, 1:39am UTC](https://forums.unrealengine.com/t/mesh-aiming-at-location-flips-over/417260 "2018-02-14T01:39:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BringTheSmiles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BringTheSmiles](https://forums.unrealengine.com/u/BringTheSmiles)\
**Post date:** [February 14, 2018, 1:39am UTC](https://forums.unrealengine.com/t/mesh-aiming-at-location-flips-over/417260/1 "2018-02-14T01:39:15Z")

</div>

Hi guys!  
So I have some tracks following a spline, and every track points to the next track with a look at rotation node. (though it doesn’t matter if I use that or rotation at distance along spline)  
However this node is implicitly setting Z+ as up vector, as I understand it, and my tracks flip over halfway.

I’m not any good at vector math and I’ve been going at this without success for a while, even though the solution might be simple.

How would I get the tracks to point the right direction? Or explicitly setting the up vector away from the inside of the spline?

![230605-rightvectors.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/a/10ad0481802d150fbb733960ee5b90f4916373d4.png)

Here you see each track’s right vector as yellow lines, getting flipped

 ![230606-nodes.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/c/66c8ad1acac189717e784fcc120249cb47964c66.png)

Here’s my simple setup. The two location targets are the current track and the next, and the +180 pitch is just because I brought my mesh in the wrong way, and doesn’t affect my problem.

Any help would be very appreciated!
