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: 350

Views: 672

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: Pointer (works with torque)
Rating: 5.625
Filesize: 46.25 kB
Downloads: 1358
Comments: 2
Ratings: 2
Date added: 2009/08/04 22:12:05
Made with: Phun
Rating: rated 5.6
download
Title: [Phun/Algodoo] Thyme Pointer / Motor Phunlet
Rating: 6.4
Filesize: 15.74 kB
Downloads: 1004
Comments: 1
Ratings: 4
Date added: 2009/06/07 09:43:41
Made with: Phun
Rating: rated 6.4
download
Title: Motor + Gearbox Setup(Working)
Rating: 7.375
Filesize: 173.82 kB
Downloads: 1303
Comments: 6
Ratings: 8
Date added: 2008/11/26 04:04:06
Made with: Phun
Rating: rated 7.4
download
Title: magnetic motor
Rating: 5.625
Filesize: 35.42 kB
Downloads: 1198
Comments: 2
Ratings: 2
Date added: 2016/03/25 12:30:09
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: the illusion
Rating: 5
Filesize: 159.21 kB
Downloads: 274
Comments: 1
Ratings: 1
Date added: 2016/01/10 17:34:13
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: working motor in a car
Rating: 5
Filesize: 504.55 kB
Downloads: 421
Comments: 1
Ratings: 1
Date added: 2020/04/15 05:11:45
Made with: Algodoo v2.1.0
Rating: rated 5
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.