# How do you create a relative offset transform that takes the original's rotation into account (blueprint)?

**URL:** <https://forums.unrealengine.com/t/how-do-you-create-a-relative-offset-transform-that-takes-the-originals-rotation-into-account-blueprint/1234246>\
**Category:** Blueprint\
**Tags:** math, unreal-engine, Blueprint, question, vector-math\
**Created:** [July 20, 2023, 2:36am UTC](https://forums.unrealengine.com/t/how-do-you-create-a-relative-offset-transform-that-takes-the-originals-rotation-into-account-blueprint/1234246 "2023-07-20T02:36:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delta6](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/delta6/32/730784_2.png) [@Delta6](https://forums.unrealengine.com/u/Delta6)\
**Post date:** [July 20, 2023, 2:36am UTC](https://forums.unrealengine.com/t/how-do-you-create-a-relative-offset-transform-that-takes-the-originals-rotation-into-account-blueprint/1234246/1 "2023-07-20T02:36:09Z")

</div>

I’m trying to create a blueprint that takes an existing transform and creates a new transform offset by a set amount relative to the original. I know I can get this working with a custom C++ function and some math but I’d be shocked if this sort of functionality wasn’t already in existing blueprint node(s) and I’d rather use the pre-made functions, if possible.  
Here’s a simplified visual representation of what I’m trying to do (it’s 2D for simplicity but I need the blueprint to work in 3D):

 ![Unreal transform problem](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/0/c70a0ba5991ae00a73f6b7d95bf1faf0abcd4194.png)

Here is the blueprint I currently have. I’m not expecting it to work as desired like this but this is the closest I’ve been able to get:

 ![Screenshot 2023-07-19 221527](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/8/2788b4541144ddabf9958f4890c8c6e1088fd826.png)

I’ve spent the past few hours banging my head against this problem, searching the internet, and trying different things but nothing has worked. Does Unreal have any sort of node/function/whatever to help with this sort of thing? (If so, blueprint screenshots are always appreciated. 🙂)  
Thank you!

---

<div class="post-metadata">

**Author:** ![pezzott1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pezzott1/32/1215068_2.png) [@pezzott1](https://forums.unrealengine.com/u/pezzott1)\
**Post date:** [July 20, 2023, 3:14am UTC](https://forums.unrealengine.com/t/how-do-you-create-a-relative-offset-transform-that-takes-the-originals-rotation-into-account-blueprint/1234246/2 "2023-07-20T03:14:37Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/f/b6f0df0519a264c3842b602ae46cf50767f63973.png)

---

<div class="post-metadata">

**Author:** ![Delta6](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/delta6/32/730784_2.png) [@Delta6](https://forums.unrealengine.com/u/Delta6)\
**Post date:** [July 20, 2023, 8:54pm UTC](https://forums.unrealengine.com/t/how-do-you-create-a-relative-offset-transform-that-takes-the-originals-rotation-into-account-blueprint/1234246/3 "2023-07-20T20:54:52Z")

</div>

That works perfectly! I knew there had to be a simple solution, I just couldn’t find it myself. Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [August 19, 2023, 8:54pm UTC](https://forums.unrealengine.com/t/how-do-you-create-a-relative-offset-transform-that-takes-the-originals-rotation-into-account-blueprint/1234246/4 "2023-08-19T20:54:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
