How do i make a circle expand everytime it touches somethin?
2 posts • Page 1 of 1
How do i make a circle expand everytime it touches somethin?
Yes, i did a search, nothing.
So i basically want to make a circle expand its radius by 0.1 every time it touches something, and i tried
So i basically want to make a circle expand its radius by 0.1 every time it touches something, and i tried
- Code: Select all
e.this.radius = + 0.1
- Khaotic
- Posts: 1
- Joined: Fri Aug 18, 2017 1:25 am
Re: How do i make a circle expand everytime it touches somethin?
You should be a little programming language learning because this script is really easy ...
Here are a few tutorials for you:
http://www.algodoo.com/forum/viewtopic.php?f=14&t=1591&p=16932&hilit=thyme+beginner+tutorial#p16932
Here is the script which you need:
onCollide=(e)=>{
radius = radius + 0.1
}
Here are a few tutorials for you:
http://www.algodoo.com/forum/viewtopic.php?f=14&t=1591&p=16932&hilit=thyme+beginner+tutorial#p16932
Here is the script which you need:
onCollide=(e)=>{
radius = radius + 0.1
}
-
FLO - Posts: 16
- Joined: Thu Aug 18, 2016 5:11 pm
- Location: germany
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 27 guests