# What's the proper way to get the inverse of a rotator? I don't think what I tried is right

**URL:** <https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413>\
**Category:** Character & Animation\
**Tags:** rotator, unreal-engine, question\
**Created:** [January 10, 2017, 5:11am UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413 "2017-01-10T05:11:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unisink2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Post date:** [January 10, 2017, 5:11am UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413/1 "2017-01-10T05:11:51Z")

</div>

I tried breaking the rotator and multiply the pitch, yaw, and roll each by -1, but the results don’t look right. Know the proper way?

---

<div class="post-metadata">

**Author:** ![Hand\_of\_Cthulhu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hand\_of\_Cthulhu](https://forums.unrealengine.com/u/Hand_of_Cthulhu)\
**Post date:** [January 10, 2017, 5:59am UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413/2 "2017-01-10T05:59:24Z")

</div>

Have you tried to adding 180 to pitch, roll, and yaw?

---

<div class="post-metadata">

**Author:** ![Speckulous](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Speckulous](https://forums.unrealengine.com/u/Speckulous)\
**Post date:** [January 10, 2017, 8:04am UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413/3 "2017-01-10T08:04:07Z")

</div>

What is the inverse of a rotator (what is your aim)?

You can’t invert a vector, you can only invert a NxN matrix,  
Well, a rotator is a vector of 3 vectors, so, it’s like a 3x3 matrix → you can invert it, but i dont think thats what your looking for. (if your looking for it, check the [wikipedia forumlar](https://en.wikipedia.org/wiki/Invertible_matrix#Inversion_of_3_.C3.97_3_matrices) )

---

<div class="post-metadata">

**Author:** ![learningOver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@learningOver](https://forums.unrealengine.com/u/learningOver)\
**Post date:** [January 10, 2017, 10:39am UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413/4 "2017-01-10T10:39:34Z")

</div>

have you tried the InvertRotator node?

Clarity on what you are trying to achieve may help also.

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [June 25, 2021, 10:01pm UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413/5 "2021-06-25T22:01:13Z")

</div>

![342429-ue4invertactorrotation.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/e/8fefecaea5a4f92e4f50533dbd6af74e380b5cd0.png)

---

<div class="post-metadata">

**Author:** ![Kakushi\_52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kakushi\_52](https://forums.unrealengine.com/u/Kakushi_52)\
**Post date:** [September 1, 2021, 2:57am UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-get-the-inverse-of-a-rotator-i-dont-think-what-i-tried-is-right/381413/6 "2021-09-01T02:57:20Z")

</div>

Maybe you mean “opposite” instead of “inversed”?

 ![347789-getoppositerotator.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/3/6437f80163dd59d732ccce7c901c361c6a90a560.png)
