# Problem rebasing world origin - all other actors jump

**URL:** <https://forums.unrealengine.com/t/problem-rebasing-world-origin-all-other-actors-jump/614190>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [July 25, 2022, 10:20pm UTC](https://forums.unrealengine.com/t/problem-rebasing-world-origin-all-other-actors-jump/614190 "2022-07-25T22:20:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AscendingNode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AscendingNode](https://forums.unrealengine.com/u/AscendingNode)\
**Post date:** [July 25, 2022, 10:20pm UTC](https://forums.unrealengine.com/t/problem-rebasing-world-origin-all-other-actors-jump/614190/1 "2022-07-25T22:20:18Z")

</div>

Hi,

I’m trying to rebase the world origin to fix various rendering issues. I have a satellite actor orbiting an Earth actor in real scale, with the Earth centred on the absolute world origin [0, 0, 0] at the start. Large worlds is enabled in the world settings, but it does not seem to fix the lighting banding & animation jitter caused by single-precision floating point error at this huge scale.

I have tried to rebase the world origin in my spacecraft actor using both of the following functions, where CurPosition is the location of the satellite actor:

```auto
GetWorld()->SetNewWorldOrigin((FIntVector) CurPosition);
UGameplayStatics::SetWorldOriginLocation(this, (FIntVector) CurPosition);

```

Both technically work, but not only is the world origin set to CurPosition, all other actors in my scene seem to jump the same distance in the opposite direction. Enabling ‘ignores origin shifting’ on actors in the editor does not seem to work consistently to prevent this.

My understanding was that the world origin would simply be reset to the new XYZ coordinates, but it seems to actually shift the entire global coordinate system and move the other actors, without moving the current player view? Have I misunderstood? If it helps, the player view camera is parented to the satellite actor.

Many thanks!

---

<div class="post-metadata">

**Author:** ![AscendingNode](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AscendingNode](https://forums.unrealengine.com/u/AscendingNode)\
**Post date:** [July 26, 2022, 11:50am UTC](https://forums.unrealengine.com/t/problem-rebasing-world-origin-all-other-actors-jump/614190/2 "2022-07-26T11:50:57Z")

</div>

Update in case it helps: I have relatively consistent behaviour using the second line of code, ensuring that ‘ignores origin shifting’ is disabled, and then ensuring that all child components in the scene have their location set as absolute world position, not relative. In this case I seem to get a single world origin location shift when desired, when calling GetActorLocation() on my moving spacecraft I have the same reported location, and things seem to work.

However, if I set the child actor on the spacecraft to be defined by relative location, it gets lost behind. Is this a bug or do I need to manually compensate for this by applying the same transform every time? Thanks.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [August 6, 2022, 11:20pm UTC](https://forums.unrealengine.com/t/problem-rebasing-world-origin-all-other-actors-jump/614190/3 "2022-08-06T23:20:24Z")

</div>

Hey @AscendingNode! I’d like to gather a bit more information if that’s all right. If possible, could you show us how the children are moving? In theory local movement under a parent even if world space is moved shouldn’t be effected and I’m curious to see how it’s reacting.
