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

Views: 345

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: Robotic arm DEMO
Rating: 5.375
Filesize: 32.11 kB
Downloads: 994
Comments: 2
Ratings: 2
Date added: 2017/10/29 09:23:56
Made with: Algodoo v2.1.0
Rating: rated 5.4
download
Title: Mouse controlled crane
Rating: 5.375
Filesize: 57.8 kB
Downloads: 724
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-Expensive
Rating: 5.625
Filesize: 474.99 kB
Downloads: 2296
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: 1347
Comments: 3
Ratings: 3
Date added: 2011/01/30 18:04:37
Made with: Algodoo before v1.8.5
Rating: rated 6
download
Title: Claw Machine- Balls
Rating: 5
Filesize: 350.31 kB
Downloads: 2112
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: 1261
Comments: 0
Ratings: 1
Date added: 2009/08/02 01:17:42
Made with: Phun
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?