onCollide
2 posts • Page 1 of 1
onCollide
Is there a way to get an object to update if its touching something? Like a timer that as soon as an object stops touching something the timer starts to count down and if the object touches something again the timer resets?
- theclankinator
- Posts: 7
- Joined: Wed Jul 29, 2015 1:29 am
Re: onCollide
No, onCollide could not detect "stop touching", but I found the way to do it for lasers. Same could be done with onCollide if constantly change collideSet to force onCollide event work every tick. It's not easy to make code but possible.
Dream of Algodoo as game development engine...
-
Kilinich - [Best bug reporter 2010]
- Posts: 2098
- Joined: Mon Aug 31, 2009 8:27 pm
- Location: South Russia
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 19 guests