Browse Search Popular Register Upload Rules User list Login:
Search:
Just a random mouse-following claw

Image:
screenshot of the scene

Author: UnityDogGaming04

Group: Default

Filesize: 11.29 kB

Date added: 2022-03-27

Rating: 5

Downloads: 1277

Views: 318

Comments: 4

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

W to grab
AD to rotate

number in red box controls the damping of the claw's motion
number in blue box controls how quickly the claw moves to the mouse
you can directly control these just by changing the number in the text

now camera follows the claw
Last edited at 2022/03/27 20:42:35 by UnityDogGaming04
Please log in to rate this scene
edit
Similar scenes
Title: Mouse controlled crane
Rating: 5.375
Filesize: 57.8 kB
Downloads: 707
Comments: 4
Ratings: 2
Date added: 2011/01/30 04:04:31
Made with: Algodoo before v1.8.5
Rating: rated 5.4
download
Title: Mouse Controlled Crane V3
Rating: 5.5
Filesize: 51.01 kB
Downloads: 815
Comments: 0
Ratings: 2
Date added: 2011/02/01 04:30:54
Made with: Algodoo before v1.8.5
Rating: rated 5.5
download
Title: Claw machine-Expensive
Rating: 5.625
Filesize: 474.99 kB
Downloads: 2271
Comments: 6
Ratings: 2
Date added: 2009/08/02 01:16:11
Made with: Phun
Rating: rated 5.6
download
Title: Claw Machine- Balls
Rating: 5
Filesize: 350.31 kB
Downloads: 2087
Comments: 1
Ratings: 1
Date added: 2009/08/02 01:33:52
Made with: Phun
Rating: rated 5
download
Title: Claw Machine- Teddys
Rating: 5
Filesize: 94.18 kB
Downloads: 1239
Comments: 0
Ratings: 1
Date added: 2009/08/02 01:17:42
Made with: Phun
Rating: rated 5
download
Title: Claw Machine
Rating: 5
Filesize: 0.95 MB
Downloads: 1600
Comments: 2
Ratings: 1
Date added: 2021/05/18 01:17:43
Made with: Algodoo v2.1.0
Rating: rated 5
download
Works well. W could be a toggle.
It could but I don't know any reliable way to script a toggle button.
In green box onKey:
keys.isDown("w") ? {
scene.my.springLength == 1.2 ? {
scene.my.springLength = 0.5
} : {
scene.my.springLength = 1.2
}
} : {}

in black circles' postStep:
scene.my.springLength == 0.5 ? {
collideSet = 1;
color = [0, 0, 0, 1]
} : {
collideSet = 0;
color = [0, 0, 0, 0.5]
}

in spring postStep:
length = scene.my.springLength
Last edited at 2022/03/28 10:01:45 by s_noonan
how do you get something to go towards mouse?