Detecting if actors are touching for a duration of time
I'm sure this has been answered, but I'm struggling to find a solution on the forums.
I'd like to be able to tell if an actor (a) is touching another actor (b) for set duration of time.
I currently have this rule set up: if actor (a) collides with actor (b) after 5 seconds spawn a new actor (c).
unfortunately, with this setup, actor (a) can bounce off actor (b) then 5 seconds later the new actor (c) spawns.
What I want is actor (a) to be colliding/touching actor (b) for the entire 5 seconds.
Any advice would be greatly appreciated.
I'd like to be able to tell if an actor (a) is touching another actor (b) for set duration of time.
I currently have this rule set up: if actor (a) collides with actor (b) after 5 seconds spawn a new actor (c).
unfortunately, with this setup, actor (a) can bounce off actor (b) then 5 seconds later the new actor (c) spawns.
What I want is actor (a) to be colliding/touching actor (b) for the entire 5 seconds.
Any advice would be greatly appreciated.
Comments