Browse Search Popular Register Upload Rules User list Login:
Search:
New onHitByLaser argument

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 6.66 kB

Date added: 2024-11-21

Rating: 5

Downloads: 683

Views: 282

Comments: 5

Ratings: 1

Times favored: 0

Made with: Algodoo v2.2.1

Tags:

Scene tag

New feature in Thyme Script on Algodoo v2.2.1:

onHitByLaser argument: e.hsv

Q: What can I do with e.hsv?
A: A geometry can get the color hsv values of a laser that hit the geometry. Previously, a laser hitting a geometry can pass its colorHSVA array to the geometry, but the geometry was not able to get the color values of the laser. Now it can!

Q: What form is the data in?
A: It is an array with three elements: [h,s,v] Those are three of the four colorHSVA values of the laser.

This scene demonstrates a simple use of the new argument.
Please log in to rate this scene
edit
Similar scenes
Title: Minecraft skit: Argument
Rating: 5
Filesize: 0.67 MB
Downloads: 2599
Comments: 1
Ratings: 1
Date added: 2021/11/21 17:17:23
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: onNotHitByLaser
Rating: 5
Filesize: 21.58 kB
Downloads: 437
Comments: 0
Ratings: 1
Date added: 2014/12/05 00:59:17
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: motor + hearbox (HELP) , bad using reverse
Rating: 5
Filesize: 116.6 kB
Downloads: 798
Comments: 2
Ratings: 1
Date added: 2013/04/16 16:59:37
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: Balance vehicle v1.0
Rating: 5.6364
Filesize: 32.67 kB
Downloads: 1604
Comments: 2
Ratings: 5
Date added: 2011/05/01 10:42:40
Made with: Algodoo before v1.8.5
Rating: rated 5.6
download
Title: DR:SWOA Day 4: The Accident
Rating: 5
Filesize: 0.98 MB
Downloads: 303
Comments: 8
Ratings: 1
Date added: 2018/05/16 16:56:23
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: eval and onLaserHit
Rating: 5
Filesize: 440 B
Downloads: 170
Comments: 0
Ratings: 1
Date added: 2010/10/10 16:11:44
Made with: Phun
no image found for this scene
Rating: rated 5
download
it not working for me:(
Have you updated to 2.2.1?
It doesn't look like he/she updated because a scene that he/she published today was created with V2.1.0
Last edited at 2024/11/22 01:14:26 by Xray
I had trouble installing V2.2.1, read here --> http://www.algodoo.com/forum/viewtopic.php?f=11&t=12702&sid=413935db6be94407526216e7a1366822 :(
Last edited at 2024/11/23 15:49:19 by BlueMoon2607
I Have Versions 2.1.0 And 2.2.4 (2.2.4 Doesn't Work For Me)