# Spawning Object (emitter) with the right rotation

**URL:** <https://forums.unrealengine.com/t/spawning-object-emitter-with-the-right-rotation/1670726>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 6, 2024, 8:10pm UTC](https://forums.unrealengine.com/t/spawning-object-emitter-with-the-right-rotation/1670726 "2024-02-06T20:10:38Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 7, 2024, 12:35pm UTC](https://forums.unrealengine.com/t/spawning-object-emitter-with-the-right-rotation/1670726/7 "2024-02-07T12:35:48Z")

</div>

> [@eromanga](#):
>
> what is the ‘normal vector’ used for

A lot of things! Too many to mention, honestly.

- all the light calculation revolves around it, the angle at which light bounces of every surface you see
- physics calculation, think spheres bouncing of a wall at correct angles
- is the ramp in the pic below too steep for my character to walk on?

> if I make rotation from “normal” I get the rotation of the surface

Yes, here’s the normal - a vector that is perpendicular to the surface:

![310px-Normal_vectors_on_a_curved_surface.svg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/c/3dcc0204c5c997bbf6516053c5f48e6ebc4a489e.png)

* * *

But there is ambiguity in it, too - you _may_ want to include more data in the calculations.

- I want to land this helicopter down on the surface below it using just `Make Rot from Z`:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/0/10081a7ba8af7df3aec9fd021f8e4fc43150ec2c.jpeg)

Here’s what I got:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/8/0/a80436f5cb7f4564900ac74c9cf2b74f7bc0e806.jpeg)

Fine, but that changed the orientation of my craft, it was pointing more to the right before.

- if I also include the orientation of the heli:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/c/9bc2a45c4e3017a39f0bf1a9a8204170a94805c1.png)

I can now land like this, taking into consideration where the heli’s nose was first, and only then looking at the surface below to derive the final rotator:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/7/f775eb86c5c216aec119b46b5d30f225c63ca65c.jpeg)

If the helicopter was upside down to start with, I would need to work even harder.

---

_[View the full topic](https://forums.unrealengine.com/t/spawning-object-emitter-with-the-right-rotation/1670726)._
