playMaker

Author Topic: How to get the object to detect when it's stopped[SLOVED]  (Read 1403 times)

playmakertester

  • Full Member
  • ***
  • Posts: 211
How to get the object to detect when it's stopped[SLOVED]
« on: October 08, 2020, 02:22:11 PM »
I'm looking for a way to detect when an object has stopped.

The object is moving on the X and Z axes and will stop at some point.

I would like to detect that the object is stopped using X floats and Z floats, but I can't imagine how to build an FSM and the action.

Any good advice on how to build an FSM and what actions to take?
« Last Edit: October 08, 2020, 04:49:50 PM by playmakertester »

heavygunner

  • Sr. Member
  • ****
  • Posts: 344
Re: How to get the object to detect when it's stopped
« Reply #1 on: October 08, 2020, 02:41:08 PM »
After it started to move use action "Get Speed" and store it. Then do float compare and when speed became 0, it means it stopped 👍

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to get the object to detect when it's stopped
« Reply #2 on: October 08, 2020, 03:04:43 PM »
Hi heavygunner,

Thanks! Let me try.

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to get the object to detect when it's stopped[SLOVED]
« Reply #3 on: October 08, 2020, 04:50:21 PM »
Worked perfect.
Thanks lot!