# Scene component location defaults to world origin

**URL:** <https://forums.unrealengine.com/t/scene-component-location-defaults-to-world-origin/1675995>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, bug-report, Blueprint, question\
**Created:** [February 9, 2024, 9:23am UTC](https://forums.unrealengine.com/t/scene-component-location-defaults-to-world-origin/1675995 "2024-02-09T09:23:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 9, 2024, 9:46am UTC](https://forums.unrealengine.com/t/scene-component-location-defaults-to-world-origin/1675995/2 "2024-02-09T09:46:14Z")

</div>

> [@erlo68](#):
>
> This has to be a bug right?

The trace is not set up correctly, you must add `World Location` to `End`. This:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/7/397c2210d7c51f48ce1937f69b41b2249968aa9a.png)

is just 50uus from world 0,0,0. So 50,0,0.

* * *

> I was having trouble doing a simple line trace for my feet.

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

In case of characters, the movement component already does it out of the box. See last entry in this post:

> [@Spawning Object (emitter) with the right rotation](https://forums.unrealengine.com/t/spawning-object-emitter-with-the-right-rotation/1670726/9):
>
> 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: Btw, Dot Product is the next thing to learn about once you’ve got Normals under control. How to get there: Once you have it: This is also a great resource: [[WTF Is? Struct: Hit R…](https://www.youtube.com/watch?v=vje9S5aj15k)

Perhaps you could leverage that. Saves you a Tick. Probably irrelevant.

---

_[View the full topic](https://forums.unrealengine.com/t/scene-component-location-defaults-to-world-origin/1675995)._
