[help]Spawn engine problem

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

[help]Spawn engine problem

Postby therestofguys » Sat May 17, 2014 10:59 am

Here's a spawn engine I made, somehow when I apply the brake it will accelerate, but when I put everything together it won't work as smooth as before, is there anyway to make this work? or is there any better methods?

Rating: rated 5
Filesize: 48.01 kB
Comments: 3
Ratings: 1
download
User avatar
therestofguys
 
Posts: 10
Joined: Sat May 17, 2014 9:34 am

Re: [help]Spawn engine problem

Postby Kilinich » Sat May 17, 2014 11:04 am

Add inertiaMultiplier to flywheel for smoothness.
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: [help]Spawn engine problem

Postby therestofguys » Sun May 18, 2014 1:10 pm

That do help smooth the engine, thanks, by the way is there a way to control the engine power?
User avatar
therestofguys
 
Posts: 10
Joined: Sat May 17, 2014 9:34 am

Re: [help]Spawn engine problem

Postby Kilinich » Sun May 18, 2014 2:14 pm

therestofguys wrote:That do help smooth the engine, thanks, by the way is there a way to control the engine power?

Well, you could script density of spawned geoms, size or timeToLive
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: [help]Spawn engine problem

Postby therestofguys » Sun May 18, 2014 7:44 pm

Kilinich wrote:Well, you could script density of spawned geoms, size or timeToLive

thanks, i'll try that:DD
User avatar
therestofguys
 
Posts: 10
Joined: Sat May 17, 2014 9:34 am


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 20 guests