# Need help with BP math. How to detect differences in a rotator variable?

**URL:** <https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [November 23, 2025, 9:39pm UTC](https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903 "2025-11-23T21:39:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![NEYSE\_O001](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neyse_o001/32/1139179_2.png) [@NEYSE\_O001](https://forums.unrealengine.com/u/NEYSE_O001)\
**Post date:** [November 23, 2025, 9:39pm UTC](https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903/1 "2025-11-23T21:39:51Z")

</div>

![resim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/a/7/9a7345b78725dd49123be8bca7ffc23ed5afcb84.png)  
This is a system @ClockworkOcean did, it simply detects if there are any differences (bigger than Treshold), I am using it to trigger a nodeset if it detects a difference.

I need a similar system actually but I don’t know what nodes and whatever to use. In this one, it will trigger a nodeset if the _Impact Normal_ , or the Value changes more than a certain treshold.

 ![resim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/4/4d40ea40f9ecd81cbbed22ef505425d81ecb7655.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 24, 2025, 6:49am UTC](https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903/2 "2025-11-24T06:49:28Z")

</div>

I can’t make a pic ( not at a machine ), but you need to know how much the angle has changed.

Just like you stored the previous distance, you need to store the previous normal.

The way to measure the angle between the impact normals is:

NormalA and NormalB into a ‘dot product’ node, and that into a ACOS. This gives the angle…

---

<div class="post-metadata">

**Author:** ![NEYSE\_O001](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neyse_o001/32/1139179_2.png) [@NEYSE\_O001](https://forums.unrealengine.com/u/NEYSE_O001)\
**Post date:** [November 24, 2025, 7:47am UTC](https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903/3 "2025-11-24T07:47:44Z")

</div>

![resim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/8/01820bd7418486b7f4e6c2626ff86d42255e32bc.png)  
Should I attach dot product the rotator? It does not seems compatible, also not compatible with float 🙂

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 24, 2025, 7:53am UTC](https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903/4 "2025-11-24T07:53:08Z")

</div>

Drag from the normal vector pin and search for ‘dot’

---

<div class="post-metadata">

**Author:** ![NEYSE\_O001](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/neyse_o001/32/1139179_2.png) [@NEYSE\_O001](https://forums.unrealengine.com/u/NEYSE_O001)\
**Post date:** [November 24, 2025, 12:52pm UTC](https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903/5 "2025-11-24T12:52:59Z")

</div>

![resim](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/c/b0cc248026ab4c63f505be551b8a255c5c24048f.png)

You think this is right? I couldn’t test it properly, there is lots of problems in my project.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 24, 2025, 6:20pm UTC](https://forums.unrealengine.com/t/need-help-with-bp-math-how-to-detect-differences-in-a-rotator-variable/2677903/6 "2025-11-24T18:20:49Z")

</div>

The math is right. I can’t really see the rest of the logic…
