Scripting, math library

Scripting, math library

Unread postby mohyeh77 » Wed Jun 01, 2022 2:19 pm

Hello everyone, I'm so happy to be one of RW forum members
I have one question, why math.fmod(x,.y) doesn't work in my script is there something wrong was I did, or RW lua doesn't support this function at all.
gResult = math.fmod(gCounter, 5)
I put this statement in Update(interval) Function section
mohyeh77
 

Re: Scripting, math library

Unread postby bnsfsubdivision » Thu Jun 02, 2022 6:34 am

math.fmod is not supported AFAIK.
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Scripting, math library

Unread postby mohyeh77 » Fri Jun 03, 2022 3:11 am

bnsfsubdivision wrote:math.fmod is not supported AFAIK.


I thought that , because I tried many different ways.
mohyeh77
 


Return to TS 2021

Who is online

Users browsing this forum: No registered users and 1 guest

cron