Image:
Author: Xray Group: Default Filesize: 31.7 kB Date added: 2014-12-03 Rating: 5 Downloads: 465 Views: 499 Comments: 6 Ratings: 1 Times favored: 0 Made with: Algodoo v2.1.0 Tags:
|
I got this idea from a scene that kilinich posted and then later removed. This scene operates a little differently than his did, but it produces the same result.
Normally, you can create script that will activate when the geometry gets hit by a laser beam. This function will activate a script when the laser beam STOPS hitting the geometry. Currently, a simple script changes the color of a box when the beam stops hitting it, but that script could be anything else that you desire.
This system is self-resetting. That is, after the laser stops hitting the geometry, it can hit it again, and then the script in onLaserStop will activate again when the laser beam stops hitting it.
UPDATE: Fixed bug that prevented scene from working at less than 0.5 simulation speed. |
Last edited at 2014/12/06 06:41:28 by Xray
Please log in to rate this scene
|