playMaker

Author Topic: [SOLVED]Basic GetDistance & Float compare not working.  (Read 2797 times)

pXd

  • Playmaker Newbie
  • *
  • Posts: 29
[SOLVED]Basic GetDistance & Float compare not working.
« on: June 03, 2016, 10:15:45 PM »
Stange, seems to work sometimes and sometimes not. This is just a test setup with all Float compare events enabled. Float meets requirements but nothing sends unfortunately.

Any help much appreciated.

Cheers

« Last Edit: June 04, 2016, 08:13:37 AM by pXd »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Basic GetDistance & Float compare not working.
« Reply #1 on: June 04, 2016, 12:24:26 AM »
I wouldn't use the FINISHED event in those actions. FINISHED has a very specific meaning; it is sent when all actions on the state have finished running.

Try making a new event for the test e.g. Passed.




pXd

  • Playmaker Newbie
  • *
  • Posts: 29
Re: Basic GetDistance & Float compare not working.
« Reply #2 on: June 04, 2016, 01:10:56 AM »
I wouldn't use the FINISHED event in those actions. FINISHED has a very specific meaning; it is sent when all actions on the state have finished running.

Try making a new event for the test e.g. Passed.

Thanks Alex, that makes sense. Cheers.

pXd

  • Playmaker Newbie
  • *
  • Posts: 29
Re: Basic GetDistance & Float compare not working.
« Reply #3 on: June 04, 2016, 01:32:54 AM »
I wouldn't use the FINISHED event in those actions. FINISHED has a very specific meaning; it is sent when all actions on the state have finished running.

Try making a new event for the test e.g. Passed.

Still no dice actually, just tested it. Anything else it could be? As all others work fine.

pXd

  • Playmaker Newbie
  • *
  • Posts: 29
Re: Basic GetDistance & Float compare not working.
« Reply #4 on: June 04, 2016, 01:52:29 AM »
I wouldn't use the FINISHED event in those actions. FINISHED has a very specific meaning; it is sent when all actions on the state have finished running.

Try making a new event for the test e.g. Passed.

Not sure if this helps.

pXd

  • Playmaker Newbie
  • *
  • Posts: 29
Re: Basic GetDistance & Float compare not working.
« Reply #5 on: June 04, 2016, 08:12:20 AM »
I rebuilt the FSM and it works now. Not sure why, could be a bug. I have been having some strange results with get distance to game object.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: [SOLVED]Basic GetDistance & Float compare not working.
« Reply #6 on: June 04, 2016, 11:08:19 AM »
What version of Playmaker/Unity are you using?

pXd

  • Playmaker Newbie
  • *
  • Posts: 29
Re: [SOLVED]Basic GetDistance & Float compare not working.
« Reply #7 on: June 05, 2016, 03:02:03 AM »
Playmaker 1.8.0.f43 Unity 5.4.0b14