# 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:** 9

<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, 1:18pm UTC](https://forums.unrealengine.com/t/spawning-object-emitter-with-the-right-rotation/1670726/9 "2024-02-07T13:18:54Z")

</div>

> [@eromanga](#):
>
> Why is it given in “vector form” if it is mostly used for the rotation purposes?

Mainly used for _direction_, deriving rotators from normals is a bit of a side product. You will only need a rotator when something actually asks for it. More than often directional vectors are the way to go.

> read more about normals

This is very official, lots of math and trig:

> **[Math Hall: Unpacked | Course](https://dev.epicgames.com/community/learning/courses/4Pz/unreal-engine-math-hall-unpacked/7xvb/unreal-engine-introduction-to-the-math-hall-unpacked)**
>
> Join us in unpacking and discovering some of the great content in the Content Examples: Math Hall project! Using interactive examples we can visualize c...

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/f/b1f5abbd75391b5cb5ecfe4312fd95416d980867.jpeg)

Btw, Dot Product is the next thing to learn about once you’ve got Normals under control.

How to get there:

> **[Content Examples](https://docs.unrealengine.com/5.3/en-US/content-examples-sample-project-for-unreal-engine/)**
>
> This sample project demonstrates specific concepts and techniques to use in Unreal Engine.

Once you have it:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/f/d5f8960da1c24beafd1c29cd83e05d14097a99d3.jpeg)

* * *

This is also a great resource:

> **[Mathew Wadstein Tutorials](https://www.youtube.com/@MathewWadsteinTutorials/videos)**
>
> This channel is dedicated to exploring Unreal Engine and the Blueprint programming language that it uses. You can think of it as a companion to the API documentation as I try to cover the how and why for what things are used for when using the...

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/7/1b73417d691c0109a763a934273de3081cbe0f63.jpeg "WTF Is? Struct: Hit Result Node in Unreal Engine 4 ( UE4 )") ](https://www.youtube.com/watch?v=vje9S5aj15k)

* * *

> do you think this logic is okay to trace to the surface under the actor?

It’s more than fine, you could also:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/7/b57bfd2560bc63c6569fda7667a01af260a00125.png)

But it’s the same thing.

> Or is there an optimal way to do it?

The character is already tracing the surface they’re **walking** on.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/1/0b1bb8ab1a4fbfa28365741bf9f7810c20af30b1.png)

So you could use the existing trace already. Becomes useless when you jump, though. So stick to your own tracing.

---

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