Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Make an object act as if its on a string around an object
- MoonTheUmbreon41410
-
24 posts
Make an object act as if its on a string around an object
I want an object to act as if its on a string while also having momentum and elasticity but I'm dumb and don't know how. can someone help me? I specifically want to be able to move in a circle and have it start gaining momentum and flying around.
- 96498cb
-
100+ posts
Make an object act as if its on a string around an object
I think this will work:
when green flag clicked
forever
if <(distance to [tether v]) > [number]> then
set x to ((0) - (x position))
set y to ((0) - (y position))
end
end
- MoonTheUmbreon41410
-
24 posts
Make an object act as if its on a string around an object
So that makes it freak out and go between 2 different positions really fast. I think this will work:when green flag clicked
forever
if <(distance to [tether v]) > [number]> then
set x to ((0) - (x position))
set y to ((0) - (y position))
end
end
- 96498cb
-
100+ posts
Make an object act as if its on a string around an object
oh i forgot change the set x & y to change x & ySo that makes it freak out and go between 2 different positions really fast. I think this will work:when green flag clicked
forever
if <(distance to [tether v]) > [number]> then
set x to ((0) - (x position))
set y to ((0) - (y position))
end
end
- Discussion Forums
- » Help with Scripts
-
» Make an object act as if its on a string around an object