Browse Search Popular Register Upload Rules User list Login:
Search:
scripting help needed

Image:
screenshot of the scene

Author: ploters

Group: Default

Filesize: 4.37 kB

Date added: 2025-09-25

Rating: 5

Downloads: 278

Views: 202

Comments: 3

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

i am trying to make a object grow to be longer on the X axis when i hit it with a lazer however my attempts are futile, if anyone knows how to acomplish this their help wold be wonderfull
Please log in to rate this scene
edit
Similar scenes
Title: Help me lss!
Rating: 5
Filesize: 16.93 kB
Downloads: 215
Comments: 4
Ratings: 1
Date added: 2015/07/30 11:02:04
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Tower Grenader Game [V.1.1]
Rating: 5
Filesize: 47.48 kB
Downloads: 875
Comments: 0
Ratings: 1
Date added: 2012/06/03 16:11:09
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
Title: Scripting Tests
Rating: 5.625
Filesize: 88.06 kB
Downloads: 780
Comments: 2
Ratings: 2
Date added: 2010/01/10 00:18:46
Made with: Algodoo before v1.8.5
Rating: rated 5.6
download
Title: Help needed: re-make of The Impossible Game
Rating: 5
Filesize: 7.13 kB
Downloads: 609
Comments: 2
Ratings: 1
Date added: 2013/10/26 05:14:44
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Pulley
Rating: 5.625
Filesize: 0.75 MB
Downloads: 364
Comments: 0
Ratings: 2
Date added: 2012/11/20 15:47:42
Made with: Algodoo v2.0.1 Edu
Rating: rated 5.6
download
Title: Thyme scripting tutorial
Rating: 5.625
Filesize: 26.33 kB
Downloads: 929
Comments: 4
Ratings: 2
Date added: 2009/11/29 13:59:26
Made with: Phun
Rating: rated 5.6
download
In laser:
onLaserHit = (e)=>{e.geom.size = e.geom.size * [1.001,1.0]}
thankyou
i know i'm a little late to this, but there's another way if you want a linear growth.

onHitByLaser = (e)=>{e.this.size = e.this.size + [(any increment), 0.0]}
:lol: