How to measure RPM?

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

How to measure RPM?

Postby pnvv » Sat Sep 06, 2014 2:09 am

I built a ridiculously fast spawn engine and I want to measure exactly how fast it is. Is there a way to measure through Thyme or other means?
Image

(/)(°,,,°)(/)
User avatar
pnvv
 
Posts: 670
Joined: Tue Aug 26, 2014 11:46 pm
Location: Disunited States of America

Re: How to measure RPM?

Postby faytree » Sat Sep 06, 2014 3:47 am

Vaidas369 had already did the RPM tutorial scene!
Here's the scene:
Rating: rated 5.6
Filesize: 41.21 kB
Comments: 5
Ratings: 2
download
waiting for semester break to come...
User avatar
faytree
 
Posts: 947
Joined: Mon Nov 05, 2012 1:37 pm
Location: Selangor, Malaysia

Re: How to measure RPM?

Postby pnvv » Sat Sep 06, 2014 7:04 pm

Will try that once I get home.
Image

(/)(°,,,°)(/)
User avatar
pnvv
 
Posts: 670
Joined: Tue Aug 26, 2014 11:46 pm
Location: Disunited States of America

Re: How to measure RPM?

Postby Kilinich » Sat Sep 06, 2014 8:17 pm

1) In interface it shows angvel in RPM
2) In script menu angvel in rad/sec
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: How to measure RPM?

Postby pnvv » Sun Sep 07, 2014 5:15 pm

Now I just gotta learn how to script decently :lol:
Image

(/)(°,,,°)(/)
User avatar
pnvv
 
Posts: 670
Joined: Tue Aug 26, 2014 11:46 pm
Location: Disunited States of America

Re: How to measure RPM?

Postby FRA32 » Sun Aug 09, 2015 9:50 am

If you want to make something spin with degree input while using the script console, transform the input from RPM to rad/sec by using this formula:

output / math.pi * 30

you basically first divide with 2PI to get transform the rad's to rotations. Now you multiply with 60 and you get to rotations per minute, which is the way rotation speed gets displayed in the hinge menu.
FRA32
 
Posts: 227
Joined: Wed Dec 03, 2014 9:51 pm


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 4 guests