Change sim speed with onCollide

About advanced scenes, and the Thyme scripting language used in Algodoo.

Change sim speed with onCollide

Postby Lomztein » Wed Apr 21, 2010 5:02 pm

i really need this for a scene ive been working on, and can use it for some other scenes....

if someone till me what it is, my vids on YouTube will be alot more awesome in the future...




for u guys who reply, :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:
Hello, I'm Lomztein, mlj67 on Algobox, well, whatever, heres my info!

YouTube of epicosity!
Scenes of epicosity!
Xfire of epicosity!

Please note that the YouTube link is for my new channel, with nothing on at the moment, there is a link to my old channel with all my videos on my new channel.

I just love the band called Dope, an amarican nu-metal band.
I love playing Minecraft, Algodoo, Command And Counquer 3 and 4, and BF:BC2
User avatar
Lomztein
 
Posts: 9
Joined: Wed Apr 21, 2010 3:41 pm
Location: I actually don't really know..

Re: Change sim speed with onCollide

Postby Chronos » Thu Apr 22, 2010 12:58 am

Did you even bother reading the tutorial and the variable list? Or searching, for that matter? :|
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Change sim speed with onCollide

Postby Mystery » Thu Apr 22, 2010 8:59 am

Maybe he doesn't know thyme.
Maybe he doesn't know what the variable list is.

Remember not everyone has 2000+ posts here

Sim.timefactor controls speed.

So if you want your scene to go half speed oncollide
Code: Select all
sim.timefactor = 0.5


If you want it to go back to regular speed
Code: Select all
sim.timefactor = 1


Too easy, right :)
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Change sim speed with onCollide

Postby Lomztein » Mon Apr 26, 2010 9:29 pm

thanks guys

u all rule
' :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:
Hello, I'm Lomztein, mlj67 on Algobox, well, whatever, heres my info!

YouTube of epicosity!
Scenes of epicosity!
Xfire of epicosity!

Please note that the YouTube link is for my new channel, with nothing on at the moment, there is a link to my old channel with all my videos on my new channel.

I just love the band called Dope, an amarican nu-metal band.
I love playing Minecraft, Algodoo, Command And Counquer 3 and 4, and BF:BC2
User avatar
Lomztein
 
Posts: 9
Joined: Wed Apr 21, 2010 3:41 pm
Location: I actually don't really know..


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 4 guests