Browse Search Popular Register Upload Rules User list Login:
Search:
onStopHitByLaser event

Image:
screenshot of the scene

Author: Kilinich

Group: Default

Filesize: 32.05 kB

Date added: 2014-12-04

Rating: 5.6

Downloads: 1319

Views: 631

Comments: 1

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

It was harder than I thought)
Demo scene for custom event that called once then laser stops hitting geom.

_onStopHitByLaser = (e) => {//your code here}

Add code to geom and you could write your own handler as for build-in events.

Forum topic: http://www.algodoo.com/fo … 990#p78551
Last edited at 2014/12/04 10:47:00 by Kilinich
Please log in to rate this scene
edit
Similar scenes
Title: Algicosathlon Day 2
Rating: 5
Filesize: 45.92 kB
Downloads: 822
Comments: 0
Ratings: 1
Date added: 2016/12/28 12:44:00
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Algicosathlon RTTB Event
Rating: 5.625
Filesize: 69.81 kB
Downloads: 8402
Comments: 4
Ratings: 2
Date added: 2023/09/26 06:59:56
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Algicosathlon Day 6
Rating: 5
Filesize: 29.41 kB
Downloads: 784
Comments: 0
Ratings: 1
Date added: 2017/01/04 21:07:52
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Algicosathlon Day 4 part 1
Rating: 5
Filesize: 36.88 kB
Downloads: 878
Comments: 0
Ratings: 1
Date added: 2016/12/29 17:31:33
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Superdecathlon Party Day 3
Rating: 5
Filesize: 1 MB
Downloads: 500
Comments: 3
Ratings: 1
Date added: 2015/08/11 16:41:44
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Algotriacontathlon Day 5
Rating: 5
Filesize: 47.55 kB
Downloads: 499
Comments: 3
Ratings: 1
Date added: 2016/10/21 00:56:15
Made with: Algodoo v2.1.0
Rating: rated 5
download
Responses to this scene:
Title Author Rating Downloads Comments Date added
onNotHitByLaser s_noonan 5 (1 vote) 409 0 2014/12/05 00:59:17
show grid
The geometry changes color when the laser beam HITS it, and then it changes back to original color when the laser beam stops hitting it. Are you sure that's how it should work? Check out my scene, which only changes the color when the laser beams stops hitting it, and not when the beam hits it:

onLaserStop event

Do you like my version of it?