# \#math-expression

**URL:** https://forums.unrealengine.com/tag/math-expression/4659.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Math expression negative numbers?](https://forums.unrealengine.com/t/math-expression-negative-numbers/463634)

<div class="topic-metadata">

**Author:** [@DDemon](https://forums.unrealengine.com/u/DDemon)\
**Replies:** 3\
**Last updated:** [July 14, 2026, 11:13am UTC](https://forums.unrealengine.com/t/math-expression-negative-numbers/463634 "2026-07-14T11:13:33Z")

</div>

So I used a lot of math and started to place it into math expression and made this simple example, is this supposed to be?

---

## [Maths Not adding up-Skips Maths completely ](https://forums.unrealengine.com/t/maths-not-adding-up-skips-maths-completely/2669865)

<div class="topic-metadata">

**Author:** [@gamekillz-62](https://forums.unrealengine.com/u/gamekillz-62)\
**Replies:** 1\
**Last updated:** [October 30, 2025, 3:21am UTC](https://forums.unrealengine.com/t/maths-not-adding-up-skips-maths-completely/2669865 "2025-10-30T03:21:49Z")

</div>

Hey guys i Have a Very simple math node that Seems to not be working, im not the best at math but am fairly sure this is a bug, so i have this Function called from the press of a button, then it checks if {\*Clicking-T…

---

## [Keybind for create Math Expression node crash](https://forums.unrealengine.com/t/keybind-for-create-math-expression-node-crash/327018)

<div class="topic-metadata">

**Author:** [@BaneDeath](https://forums.unrealengine.com/u/BaneDeath)\
**Replies:** 1\
**Last updated:** [April 3, 2024, 2:37pm UTC](https://forums.unrealengine.com/t/keybind-for-create-math-expression-node-crash/327018 "2024-04-03T14:37:21Z")

</div>

In BaseEditorPerProjectUserSettings.ini I’ve added the following lines to make reroute and math expressions a bind. \[BlueprintSpawnNodes\] +Node=(Class=K2Node\_Knot Key=Tilde Shift=false Ctrl=false Alt=false) +Node=(Class…

---

## [Constant Double only has a single floating point precision.](https://forums.unrealengine.com/t/constant-double-only-has-a-single-floating-point-precision/1333727)

<div class="topic-metadata">

**Author:** [@Ibtesam\_Sadiq](https://forums.unrealengine.com/u/Ibtesam_Sadiq)\
**Replies:** 2\
**Last updated:** [October 16, 2023, 3:08pm UTC](https://forums.unrealengine.com/t/constant-double-only-has-a-single-floating-point-precision/1333727 "2023-10-16T15:08:33Z")

</div>

I am working in the material editor and using Unreal Engine 5.3. there are 2 constant nodes for a single value. the simple constant node that we used to have in the previous version. and new node Constant Double which …

---

## [Can someone explain how this math works? Point A to B velocity calculation.](https://forums.unrealengine.com/t/can-someone-explain-how-this-math-works-point-a-to-b-velocity-calculation/857518)

<div class="topic-metadata">

**Author:** [@Brazen\_Aden](https://forums.unrealengine.com/u/Brazen_Aden)\
**Replies:** 4\
**Last updated:** [April 8, 2023, 6:39am UTC](https://forums.unrealengine.com/t/can-someone-explain-how-this-math-works-point-a-to-b-velocity-calculation/857518 "2023-04-08T06:39:42Z")

</div>

I was looking at math to try and figure out how to get the velocity to match the location and I stumbled upon a formula I had no clue how to convert. It seemed it was for a float velocity. Calculate force required to mo…

---

## [Is there a Math node that returns a number between a new min and a new max?](https://forums.unrealengine.com/t/is-there-a-math-node-that-returns-a-number-between-a-new-min-and-a-new-max/718607)

<div class="topic-metadata">

**Author:** [@dmtzcain](https://forums.unrealengine.com/u/dmtzcain)\
**Replies:** 6\
**Last updated:** [November 30, 2022, 2:29pm UTC](https://forums.unrealengine.com/t/is-there-a-math-node-that-returns-a-number-between-a-new-min-and-a-new-max/718607 "2022-11-30T14:29:52Z")

</div>

In blueprints the input is a 7.5 in a range between 0 and 10 I want to return a number between a new-minimal and new-max value that is relative to num in the range between old-minimal and old-max values. In this case I…

---

## [How could you graph a polar equation on a material?](https://forums.unrealengine.com/t/how-could-you-graph-a-polar-equation-on-a-material/488270)

<div class="topic-metadata">

**Author:** [@Paul\_Drauz-Brown](https://forums.unrealengine.com/u/Paul_Drauz-Brown)\
**Replies:** 1\
**Last updated:** [September 1, 2021, 4:30pm UTC](https://forums.unrealengine.com/t/how-could-you-graph-a-polar-equation-on-a-material/488270 "2021-09-01T16:30:11Z")

</div>

I’m trying to create a material that can display an arbitrary polar equation, for instance a rose pattern using the equation “r = a sin nθ”. Ideally I could just switch out the “Active Function” node to create a new patt…

---

## [How do i make my project not pause during calculation?](https://forums.unrealengine.com/t/how-do-i-make-my-project-not-pause-during-calculation/477062)

<div class="topic-metadata">

**Author:** [@F0RM4TION](https://forums.unrealengine.com/u/F0RM4TION)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 1:50am UTC](https://forums.unrealengine.com/t/how-do-i-make-my-project-not-pause-during-calculation/477062 "2021-01-11T01:50:13Z")

</div>

so at the moment im trying to figure out the combination of gear that the character could wear and to figure out all the combinations of the equipment by nesting for loops inside each other so that it works through all t…

---

## [Optimize Material Performance](https://forums.unrealengine.com/t/optimize-material-performance/473584)

<div class="topic-metadata">

**Author:** [@DevAg](https://forums.unrealengine.com/u/DevAg)\
**Replies:** 4\
**Last updated:** [October 28, 2020, 5:25pm UTC](https://forums.unrealengine.com/t/optimize-material-performance/473584 "2020-10-28T17:25:26Z")

</div>

Hello together, i try to figure out how to improve my landscape material, performance wise. Since i use some WorldAlignedBlends I thought i could switch to a cheaper version. As a result i came up with this function: …

---

## [Math Expession EAC or CubeMAP projection Formula in Material Editor](https://forums.unrealengine.com/t/math-expession-eac-or-cubemap-projection-formula-in-material-editor/465500)

<div class="topic-metadata">

**Author:** [@Ivan\_Elizarov](https://forums.unrealengine.com/u/Ivan_Elizarov)\
**Replies:** 2\
**Last updated:** [May 24, 2020, 10:24pm UTC](https://forums.unrealengine.com/t/math-expession-eac-or-cubemap-projection-formula-in-material-editor/465500 "2020-05-24T22:24:51Z")

</div>

Hi! How to write this math expression EAC projection formula in the material editor ? What am I doing wrong? Example Image EAC projection from youtube. In fact, you should get an equirectangular projectio…

---

## [Sign function in Math Expression Node](https://forums.unrealengine.com/t/sign-function-in-math-expression-node/458992)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_329fd50d1](https://forums.unrealengine.com/u/anonymous_user_329fd50d1)\
**Replies:** 6\
**Last updated:** [November 30, 2019, 9:31pm UTC](https://forums.unrealengine.com/t/sign-function-in-math-expression-node/458992 "2019-11-30T21:31:58Z")

</div>

Anyone knows if the Sign (float) function is available in Math Expression Node and if yes under what name/syntax? \*Thanks, \*

---

## [Blueprint Math Expression: How do I get the sign of a value?](https://forums.unrealengine.com/t/blueprint-math-expression-how-do-i-get-the-sign-of-a-value/428217)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4b24d331](https://forums.unrealengine.com/u/anonymous_user_4b24d331)\
**Replies:** 4\
**Last updated:** [June 28, 2018, 11:40am UTC](https://forums.unrealengine.com/t/blueprint-math-expression-how-do-i-get-the-sign-of-a-value/428217 "2018-06-28T11:40:32Z")

</div>

I’m wondering how the sign node is called in math expressions nodes. I know that there are alternatives (like a/abs(a) in case a != 0), but I’d really prefer to use the sign(a) command instead. I’ve tried both, sign(a),…

---

## [Can I generat an ending using the logistic map equation?](https://forums.unrealengine.com/t/can-i-generat-an-ending-using-the-logistic-map-equation/424386)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6f5799481](https://forums.unrealengine.com/u/anonymous_user_6f5799481)\
**Replies:** 0\
**Last updated:** [May 5, 2018, 12:51pm UTC](https://forums.unrealengine.com/t/can-i-generat-an-ending-using-the-logistic-map-equation/424386 "2018-05-05T12:51:35Z")

</div>

Hello guys , i need an oppinion , i’m beginner in ue4 and i’m making a 2d paper game similar to The Binding of Issac . For the multiple ending i must use the logistic map equation (i’ll attach the image) and i don’t kno…

---

## [Access vector axis in Math Expression node](https://forums.unrealengine.com/t/access-vector-axis-in-math-expression-node/331162)

<div class="topic-metadata">

**Author:** [@Nallebeorn](https://forums.unrealengine.com/u/Nallebeorn)\
**Replies:** 3\
**Last updated:** [July 12, 2016, 5:28am UTC](https://forums.unrealengine.com/t/access-vector-axis-in-math-expression-node/331162 "2016-07-12T05:28:03Z")

</div>

I know it’s possible to use vector inputs and outputs in Math Expression nodes. But is there a way to access a certain axis of an input vector? I tried a.x as well as a\[x\] – unfortunately, none of them worked (instead t…

---

## [Bug report: \<= doesnt work](https://forums.unrealengine.com/t/bug-report-doesnt-work/356988)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5de2a6ae1](https://forums.unrealengine.com/u/anonymous_user_5de2a6ae1)\
**Replies:** 5\
**Last updated:** [May 11, 2016, 7:36pm UTC](https://forums.unrealengine.com/t/bug-report-doesnt-work/356988 "2016-05-11T19:36:25Z")

</div>

in my code the smaller or equal sign does not work on small fractions. my code compares \<=, they are equal but the node pumps out false. how can that be?

---

## [Math Expressions cannot use variables from hidden categories](https://forums.unrealengine.com/t/math-expressions-cannot-use-variables-from-hidden-categories/344981)

<div class="topic-metadata">

**Author:** [@manoelneto](https://forums.unrealengine.com/u/manoelneto)\
**Replies:** 4\
**Last updated:** [January 29, 2016, 3:17pm UTC](https://forums.unrealengine.com/t/math-expressions-cannot-use-variables-from-hidden-categories/344981 "2016-01-29T15:17:55Z")

</div>

Hi, I have some blueprints with transient properties that are used internally and I add them to a category that is hidden by using the Hide Categories list in the class settings. This is done so they don’t show up in th…

---

## [Using math extension always prints warning message](https://forums.unrealengine.com/t/using-math-extension-always-prints-warning-message/330480)

<div class="topic-metadata">

**Author:** [@windkey](https://forums.unrealengine.com/u/windkey)\
**Replies:** 4\
**Last updated:** [September 7, 2015, 7:26am UTC](https://forums.unrealengine.com/t/using-math-extension-always-prints-warning-message/330480 "2015-09-07T07:26:30Z")

</div>

Unreal Engine version: 4.8.3. I have tested on empty project and do the following steps: Create empty blueprint projects Add structure called “data”, where the data contains three variables, value, min, max. The type…

---

## [\[BUGS\] Math expression. Wrong description](https://forums.unrealengine.com/t/bugs-math-expression-wrong-description/322374)

<div class="topic-metadata">

**Author:** [@DcDenton](https://forums.unrealengine.com/u/DcDenton)\
**Replies:** 1\
**Last updated:** [June 19, 2015, 2:07pm UTC](https://forums.unrealengine.com/t/bugs-math-expression-wrong-description/322374 "2015-06-19T14:07:35Z")

</div>

Hello. When im write some math expression in description i see there.

---

## [Math Expression Bug](https://forums.unrealengine.com/t/math-expression-bug/293122)

<div class="topic-metadata">

**Author:** [@Viola\_1](https://forums.unrealengine.com/u/Viola_1)\
**Replies:** 1\
**Last updated:** [December 11, 2014, 6:34pm UTC](https://forums.unrealengine.com/t/math-expression-bug/293122 "2014-12-11T18:34:55Z")

</div>

Hi Guys. If we write a math expressen and at this time there is an autosave. expression box clear completely and work is gone. What can we do against it?

---

## [Blueprint Math Expression: Fractions (like 1/3) are initialized as ints, become zero](https://forums.unrealengine.com/t/blueprint-math-expression-fractions-like-1-3-are-initialized-as-ints-become-zero/300315)

<div class="topic-metadata">

**Author:** [@JoystickMonkey](https://forums.unrealengine.com/u/JoystickMonkey)\
**Replies:** 0\
**Last updated:** [December 2, 2014, 4:29am UTC](https://forums.unrealengine.com/t/blueprint-math-expression-fractions-like-1-3-are-initialized-as-ints-become-zero/300315 "2014-12-02T04:29:30Z")

</div>

If you input a math expression that has a fraction using whole numbers, the math expression uses the Int version of divide. As Int divide currently works, a fraction like 1/3 turns into zero. You can work around this by…
