Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: mefihl on February 20, 2018, 12:22:43 PM

Title: Math Expression
Post by: mefihl on February 20, 2018, 12:22:43 PM
Hi,
It would be great if a "Math Expression" was created, such as a Conditional Expression, with the difference that action would only return the result assigned to the variable

Thx
Title: Re: Math Expression
Post by: blackant on April 10, 2018, 04:19:47 AM
+1

i'm working on something based on a code wich uses this:

Code: [Select]
m_Rigidbody.drag = (AirBrakes ? (m_OriginalDrag + extraDrag)*m_AirBrakesEffect : m_OriginalDrag + extraDrag);
and it's extremmelly confusing to convert it to playmaker actions without a simple Expression function.
Title: Re: Math Expression
Post by: Alex Chouls on April 15, 2018, 12:22:56 PM
There's a beta Math Expression action in this thread:
http://hutonggames.com/playmakerforum/index.php?topic=18385

It needs a little optimization, but worth playing with I think...