Equal to math.toInt in Phun?

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

Equal to math.toInt in Phun?

Postby Rideg » Fri Feb 18, 2011 11:41 pm

Is there a similarity to math.toInt in Phun?
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: Equal to math.toInt in Phun?

Postby Kilinich » Sat Feb 19, 2011 12:40 am

no, but you can do the trick with math.mod {x-math.mod(x,1)}
and also if you need type conversion you can use that tech
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


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 2 guests