Browse Search Popular Register Upload Rules User list Login:
Search:
Not Working Motor Pointer

Image:
screenshot of the scene

Author: FruitMonger

Group: Default

Filesize: 22.02 kB

Date added: 2011-10-28

Rating: 5

Downloads: 359

Views: 679

Comments: 2

Ratings: 1

Times favored: 0

Made with: Algodoo v2.0.0 Edu

Tags:

Scene tag

Anybody know why this doesn't work? It's supposed to turn the motor axle so that the bendy laser is horizontily the same as the mousepos. Thanks for any feedback:)
Please log in to rate this scene
edit
Similar scenes
Title: K-Pointer Motor (Algodoo Only)
Rating: 5
Filesize: 31.91 kB
Downloads: 472
Comments: 0
Ratings: 1
Date added: 2009/11/15 17:31:27
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Realistic, working electric motor
Rating: 7.353
Filesize: 106.25 kB
Downloads: 4401
Comments: 8
Ratings: 11
Date added: 2009/05/13 16:57:05
Made with: Phun
Rating: rated 7.4
download
Title: Realistic, working electric motor - Version 2
Rating: 7
Filesize: 71.89 kB
Downloads: 2176
Comments: 3
Ratings: 10
Date added: 2009/05/15 13:24:16
Made with: Phun
Rating: rated 7
download
Title: Mouse Pointer [V.1.1]
Rating: 5
Filesize: 16.19 kB
Downloads: 737
Comments: 1
Ratings: 1
Date added: 2012/08/28 16:34:52
Made with: Algodoo v2.0.2 Edu
Rating: rated 5
download
Title: the illusion
Rating: 5
Filesize: 159.21 kB
Downloads: 277
Comments: 1
Ratings: 1
Date added: 2016/01/10 17:34:13
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Motor + Gearbox (4WD)
Rating: 7.25
Filesize: 195.47 kB
Downloads: 223
Comments: 4
Ratings: 12
Date added: 2008/12/27 01:12:33
Made with: Phun
no image found for this scene
Rating: rated 7.3
download
Get rid of straight laser.

In Bendy Laser:

onLaserHit: = (e)=>{scene.my.motor1 = -0.5 * (app.mousepos(0) - e.pos(0))}

In Motor:

motorSpeed = {scene.my.motor1}

works in Algodoo v1.8.5
Thanks for the help! I put my own spin on the scripting, and it worked exactly how I wanted it to.