Math expression node. Need some help with relatively simple formula

Greetings gentelmens :slight_smile:

I have some quite simple formula, but dont really understand how to properly write it inside math expression node.
Can some one help me with that, please?

distance.JPG

https://docs.unrealengine.com/en-US/…ode/index.html

Hopefully just

​​​​​​sqrt(pow(a-b,2)+pow(c-d,2))

The x2 and y2 are different variables in the equation above - it looks like part of a polynomial.

After a paste you can open up the actual graph and make adjustments as needed.

Yeah exactly how it should be :slight_smile: Thanks :slight_smile:
I was trying to find the way to define power exp value, but doesnt find any examples. So generally my question was, how to get pow with exp n from x, and well it just - pow(x, n) :rolleyes:
Thanks again :slight_smile: