playMaker

Author Topic: Object moving or not?  (Read 312 times)

krisz

  • Playmaker Newbie
  • *
  • Posts: 5
Object moving or not?
« on: October 30, 2023, 03:25:22 PM »
Hello!
 I try to search a way how can i check my object is moving or not. Its sound simple but i don't find a way.
Can someone please help me please?
Thanks!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Object moving or not?
« Reply #1 on: October 31, 2023, 06:26:54 AM »
Get position, next frame get position again and compare
if you don't need to check every frame you can for example do a wait 0.2sec instead of a next frame.

it depends on your project.

krisz

  • Playmaker Newbie
  • *
  • Posts: 5
Re: Object moving or not?
« Reply #2 on: November 04, 2023, 09:53:56 AM »
Thank you for the quick reply!  :)
I will try it out!