# Blueprint to aim solar panels. Yaw tracks, Roll does not

**URL:** <https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, question, Blueprint\
**Created:** [October 31, 2022, 10:48am UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763 "2022-10-31T10:48:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pr0toc01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pr0toc01/32/588625_2.png) [@Pr0toc01](https://forums.unrealengine.com/u/Pr0toc01)\
**Post date:** [October 31, 2022, 10:48am UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763/1 "2022-10-31T10:48:47Z")

</div>

So I followed advices that was given in another post

> [@Blueprint: Getting an object to LOOK at another object](https://forums.unrealengine.com/t/blueprint-getting-an-object-to-look-at-another-object/363332):
>
> I’m trying to create a pair of eyes that will look at an object whenever it moves. In 3ds max this is quite easy to accomplish by simply giving the eyes a “Look at Constraint” Is there such a function in UE4?

I have managed to get the YAW tracking to work.  
For whatever reason the roll for the panels is not working and im at a loss for why

The panel YAW works as expected (opnce adding a 90deg offset) and you can see from the editor start and the play start that the YAW has adjusted

 ![SUN verLoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/8/72857d4a6c10306b101ad12c43b4481137e53a7c.jpeg)  
 ![YAW Functions](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/8/fb8a8851a129e1dba5b412da5beda397e0ea8125.jpeg)

But you will notice the Panels arent rolling at all. Not even with an incorrect offset, just not rolling period and im at a loss.  
The panels are YAWing as expected (to keep them aligned with the “pegs” on the base of the object) but they wont roll.

Im new enough to know I dont know what im missing. Can someone please help me out?

 ![Panels not Rolling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/c/6/5c6fafd1c0c8e0132611b3de744701ddf8e38946.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [October 31, 2022, 11:16am UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763/2 "2022-10-31T11:16:39Z")

</div>

If you grab the panels and rotate them manually, in the blueprint, is X the correct movement axis?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [October 31, 2022, 12:06pm UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763/3 "2022-10-31T12:06:41Z")

</div>

![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/5/40522c8af3f943e865de9b615769c0507f498b58.png)  
 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/9/6/59684585f48f80eb85c83e9a2fd58bbe55697100.png)  
 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/4/96428d793f611f19ed7239742946ef209fe82329.png)

---

<div class="post-metadata">

**Author:** ![Pr0toc01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pr0toc01/32/588625_2.png) [@Pr0toc01](https://forums.unrealengine.com/u/Pr0toc01)\
**Post date:** [October 31, 2022, 2:01pm UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763/4 "2022-10-31T14:01:18Z")

</div>

Yes ROLL is the correct axis rotation.  
But it just dawned on me what was wrong.  
The model (which i dont have the original of) has it set up so that pitch and roll are reversed.

I need to take the Y (Pitch) value from the “Find Look at Rotation” node and connect that to the X (Roll) of the “Set World Rotation” node.

It was so simple and id been looking at it for HOURS trying to figure out what i was missing.

It has been solved.

Kit Bash 3D makes some great “model kits” but i do have to say that their attention to detail is sometimes a little lacking it creates problems like this. oh well its solved and I want to thank you all for your input.

 ![solved](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/3/de3ddc7a64a03f1a541ed7402ff5c796c2944025.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [October 31, 2022, 2:05pm UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763/5 "2022-10-31T14:05:32Z")

</div>

That’s why I said to check… 😉

---

<div class="post-metadata">

**Author:** ![Pr0toc01](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pr0toc01/32/588625_2.png) [@Pr0toc01](https://forums.unrealengine.com/u/Pr0toc01)\
**Post date:** [October 31, 2022, 2:10pm UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763/6 "2022-10-31T14:10:45Z")

</div>

The solar panels “pitch” is roll instead. so silly. Thank you.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [October 31, 2022, 2:14pm UTC](https://forums.unrealengine.com/t/blueprint-to-aim-solar-panels-yaw-tracks-roll-does-not/680763/7 "2022-10-31T14:14:56Z")

</div>

That KB stuff is made by ‘non-UE-ers’… 🙂
