# Forward vector value gets offset when nesting a blueprint

**URL:** <https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703>\
**Category:** Asset Creation\
**Tags:** forward-vector, unreal-engine, bug-report, skeletalmesh, question, Blueprint\
**Created:** [February 26, 2016, 12:18am UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703 "2016-02-26T00:18:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![monodrobe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monodrobe](https://forums.unrealengine.com/u/monodrobe)\
**Post date:** [February 26, 2016, 12:18am UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/1 "2016-02-26T00:18:40Z")

</div>

i posted this earlier as a question not seeing the bug section at first, and i ve nailed down the exact issue now i believe

I ve got a basic third person movement controller, get values for the forward and right vectors → add movement input

If I add a child actor to the character mesh and select a socket for it, and have a static mesh defined in the selected blue print for that child actor (in my case a weapon mesh inside an actor blueprint), the forward and right vector values essentially get swapped or rotated 90 degrees. So pressing forward will move the char left and vice versa.

I ve discovered if i use a skeletal mesh component instead in the child actor everything seems okay

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 7:29pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/2 "2016-02-26T19:29:58Z")

</div>

Hello,

Could you please provide a screenshot of your blueprint setup? I have tried to reproduce your issue, but I haven’t seen the same behavior, so I’d like to see how you are setting it up. Thank you

---

<div class="post-metadata">

**Author:** ![monodrobe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monodrobe](https://forums.unrealengine.com/u/monodrobe)\
**Post date:** [February 26, 2016, 8:08pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/3 "2016-02-26T20:08:08Z")

</div>

I repoduced using the third person example, hope these shots make it clear

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 8:13pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/4 "2016-02-26T20:13:48Z")

</div>

Thank you for the screenshots. I still have not been able to get this to reproduce. Could you provide the gun mesh that you are using? I’d like to see if this issue is specific to that asset.

---

<div class="post-metadata">

**Author:** ![monodrobe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monodrobe](https://forums.unrealengine.com/u/monodrobe)\
**Post date:** [February 26, 2016, 8:17pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/5 "2016-02-26T20:17:01Z")

</div>

i just reproduced it on a clean 3rd person example connecting a blueprint with a cube to his hand

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 8:20pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/6 "2016-02-26T20:20:12Z")

</div>

I tried the same thing on my end. I’ll give it another shot. Did you make any changes to the collision of the cube or the character?

---

<div class="post-metadata">

**Author:** ![monodrobe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monodrobe](https://forums.unrealengine.com/u/monodrobe)\
**Post date:** [February 26, 2016, 8:26pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/7 "2016-02-26T20:26:17Z")

</div>

its a bit overkill, but i uploaded the project for ya to see [File Dropper - Online file sharing](http://www.filedropper.com/bugtest)

Didnt make any changes, just dragged and dropped the cube in, I did scale the child blue print down once connected so it didnt dwarf the character

---

<div class="post-metadata">

**Author:** ![monodrobe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monodrobe](https://forums.unrealengine.com/u/monodrobe)\
**Post date:** [February 26, 2016, 8:33pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/8 "2016-02-26T20:33:53Z")

</div>

I had a colleauge reproduce the same thing, but he found that if he turned off collision on the cube and it worked, (collision preset, no collision)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 8:37pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/9 "2016-02-26T20:37:06Z")

</div>

Thank you for providing the project. I’ll go ahead and perform some tests, and get back to you as soon as I have more information.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 8:44pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/10 "2016-02-26T20:44:41Z")

</div>

Yeah after looking into it a bit more, I came to the same conclusion. It seems to be a strange reaction with the character’s capsule and the collision of the mesh.

---

<div class="post-metadata">

**Author:** ![monodrobe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@monodrobe](https://forums.unrealengine.com/u/monodrobe)\
**Post date:** [February 26, 2016, 8:52pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/11 "2016-02-26T20:52:23Z")

</div>

collision volumes dont play nice if ones inside the other, kinda what a collision volume is supposed to do, well , sorta 😛

Thanks for helping get to the bottom of this

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 26, 2016, 8:53pm UTC](https://forums.unrealengine.com/t/forward-vector-value-gets-offset-when-nesting-a-blueprint/348703/12 "2016-02-26T20:53:22Z")

</div>

Yeah, there are definitely some interesting results when two collisions overlap like that. I’m glad you were able to figure out the issue.
