Collide duration

fullviewmediafullviewmedia Member Posts: 92
edited November -1 in Working with GS (Mac)
HI,

Does anyone know how to check if an item has collided and stays touching for a period, I have a game where you have to land on a platform, not just collide with it, so I need to check if the actor is still in contact with the platform for a few seconds.

Thanks

John

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Have your rule when actor overlaps or collides with platform, then put a timer in the rule and have it After and whatever time you want. So say when object collides with platform after 4 seconds (then put in behaviors) Then whatever you put in wont happen unless hes been on the plattform for the amount of time you choose in the timer.
  • fullviewmediafullviewmedia Member Posts: 92
    Thanks that worked a treat, i´m only 3 days in to GS so learning.
Sign In or Register to comment.