springs
5 posts • Page 1 of 1
Re: springs
Limits have not yet been implemented.
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: springs
I've seen them on plenty of other scenes. Here's an example: http://www.algodoo.com/algobox/details.php?id=49131
- mrmegawarrior
- Posts: 80
- Joined: Wed Aug 25, 2010 6:25 am
Re: springs
Not a real limit he just stopper the spring going past a certain length. You can still stretch it as far as you want.
To replicate.
IF spring length is less then 10 THEN spring length + 0.1 ELSE do nothing.
This code will stop adding length to the spring once it is past 10 meters in length.
To replicate.
- Code: Select all
{scene.my.spring < 10}?{scene.my.spring = scene.my.spring + 0.1}:{}
IF spring length is less then 10 THEN spring length + 0.1 ELSE do nothing.
This code will stop adding length to the spring once it is past 10 meters in length.
-

Mystery - Posts: 2802
- Joined: Thu Sep 03, 2009 1:16 pm
- Location: Southern Australia
Re: springs
sorry i guess i meant a "stopper" not a limit.
THX!
THX!
- mrmegawarrior
- Posts: 80
- Joined: Wed Aug 25, 2010 6:25 am
5 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 8 guests



