playMaker

Author Topic: Float Operator SUBTRACT yields zero[SOLVED]  (Read 2231 times)

Bennett

  • Playmaker Newbie
  • *
  • Posts: 4
Float Operator SUBTRACT yields zero[SOLVED]
« on: September 06, 2012, 08:18:45 PM »
I guess this picture speaks for itself. Why is this resolving as zero rather than a negative float?

« Last Edit: September 07, 2012, 08:13:29 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Float Operator SUBTRACT yields zero
« Reply #1 on: September 07, 2012, 05:13:37 AM »
Hi,

 this is not what I get, I do get -0.05702096

 I suspect that because you have ticked "EveryFrame" you entered this state with both values to 0 and since the action would run only once, if the actual floats changes they would not be recomputed.

try to tick everyFrame on or make sure that you enter the state with the right values to begin with.

bye,

 Jean

Bennett

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Float Operator SUBTRACT yields zero
« Reply #2 on: September 07, 2012, 08:12:26 AM »
Ah, you're right. Thanks