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

Views: 323

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: 711
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: Claw Machine- Candy
Rating: 6.1111
Filesize: 100.29 kB
Downloads: 2240
Comments: 6
Ratings: 3
Date added: 2009/08/02 02:36:48
Made with: Phun
Rating: rated 6.1
download
Title: Claw machine-Expensive
Rating: 5.625
Filesize: 474.99 kB
Downloads: 2278
Comments: 6
Ratings: 2
Date added: 2009/08/02 01:16:11
Made with: Phun
Rating: rated 5.6
download
Title: Mouse controlled crane V2
Rating: 6
Filesize: 32.85 kB
Downloads: 1333
Comments: 3
Ratings: 3
Date added: 2011/01/30 18:04:37
Made with: Algodoo before v1.8.5
Rating: rated 6
download
Title: EXTRA PLAY (The Claw Machine)
Rating: 5
Filesize: 0.72 MB
Downloads: 1372
Comments: 1
Ratings: 1
Date added: 2017/06/06 04:07:35
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Claw Machine
Rating: 5
Filesize: 0.95 MB
Downloads: 1607
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?