# PCG Spline Path Object Point to Z direction ?

**URL:** <https://forums.unrealengine.com/t/pcg-spline-path-object-point-to-z-direction/2702882>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [February 28, 2026, 2:38pm UTC](https://forums.unrealengine.com/t/pcg-spline-path-object-point-to-z-direction/2702882 "2026-02-28T14:38:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manhtry8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@manhtry8](https://forums.unrealengine.com/u/manhtry8)\
**Post date:** [February 28, 2026, 2:38pm UTC](https://forums.unrealengine.com/t/pcg-spline-path-object-point-to-z-direction/2702882/1 "2026-02-28T14:38:00Z")

</div>

Hi, im trying to make a fence by using PCG with Spline Path, but when i’m move the curve point to the Z direction, its start to look like this,

How can i make these mesh always point to the Z direction

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/c/e0ce197da6e4e73e096d57c08c7f4eccafda0acd.jpeg)

I’m using the basic Spline template PCG

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/d/40d458c9ae1dfc0aa10edc9c443b3cd2e624e2cc.png)
