# Blueprint Project Vector on to Plane

**URL:** <https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513>\
**Category:** Blueprint\
**Tags:** bug, projection, UE4-12, unreal-engine, vector, question\
**Created:** [August 18, 2016, 3:16pm UTC](https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513 "2016-08-18T15:16:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_447cf1121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_447cf1121](https://forums.unrealengine.com/u/anonymous_user_447cf1121)\
**Post date:** [August 18, 2016, 3:16pm UTC](https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513/1 "2016-08-18T15:16:11Z")

</div>

Hey,

im trying to get the projection of two vectors on a Plane, but the result is rediculous.

The upper vectors are projected and result in the ones pointing down.

 ![103422-pic.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/7/d379306187bccd3eec9c2179076d9ebb0ab9e54e.png)

here is the code

 ![103423-blueprint.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/2/47253116a613c008d9794e0f3eb8a3997f63c54c.png)

maybe my math is horribly broken, or the “project vector on to plane” function is broken.

here is the actor (uasset). Place it in the world and hit play.  
[uasset][3]

apprechiate any help  
regards

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [August 18, 2016, 5:54pm UTC](https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513/2 "2016-08-18T17:54:07Z")

</div>

Hello edstoica,

I ran a few tests on the node. It appears to be working as intended. Without knowing what it is exactly that you are trying to achieve I cannot point you towards another solution. As this does not appear to be a bug. I will be moving it out of bug reports.

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_447cf1121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_447cf1121](https://forums.unrealengine.com/u/anonymous_user_447cf1121)\
**Post date:** [August 19, 2016, 8:44am UTC](https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513/3 "2016-08-19T08:44:38Z")

</div>

Hey Rudy,

thanks for ur answer. I did not tell what i would expect, because I guesed its obivous.

When projecting a vector onto a plane, I expect a resulting vector that lies onto that plane, as a beamer projects an image on a wall. The picture should make it clear what I expect. The red vector is projected onto the plane and results in the green vector.

 ![103534-expectation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/c/6/1c6bdbc084aeb5e18d357845ef1e1085da95d9f5.png)

What is not the case in the example I posted in the opening post. Is my understanding of what the function should do wrong?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [August 19, 2016, 2:33pm UTC](https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513/4 "2016-08-19T14:33:47Z")

</div>

I have provided an example below on how you could achieve the result that you are looking for. I hope this example helps.

Example:

In the example below I created a plane at the world origin. The normal for this plane is straight up (0,0,1), I then passed in the vector that I wanted to be projected on to the plane (the red debug line). I then provided the result as the end point for second debug line (green).

 ![103583-projectontoplanehelp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/c/28c58d1f4c970cef6f2da5b78825487bdd0e5220.jpeg)

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_447cf1121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_447cf1121](https://forums.unrealengine.com/u/anonymous_user_447cf1121)\
**Post date:** [August 22, 2016, 11:21am UTC](https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513/5 "2016-08-22T11:21:07Z")

</div>

thanks for ur minimal example and ur help.

The actual problem was: the “project vector on to plane” function needs a normalized normal. I did not normalize my normal. Would be nice if mentioned in the pin comment.

---

<div class="post-metadata">

**Author:** ![LexCurtis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LexCurtis](https://forums.unrealengine.com/u/LexCurtis)\
**Post date:** [December 23, 2022, 6:34pm UTC](https://forums.unrealengine.com/t/blueprint-project-vector-on-to-plane/367513/6 "2022-12-23T18:34:29Z")

</div>

You have to note that function provided assumes plane has origin (0,0,0) as one of its points. You can’t define plane just with normal
