UPDATE:
good sometimes it already helps to ask for help *lol*
i put a "," and the end of the px= r * math.cos(pk), and py= r * math.sin(pk),
never mind....thats a beginners mistake, cant even blame anybody for that.....hmmm maybe the rain outside?
I need some help, i try to place some blocks in a node box in a circle. my problem is, that i cant get it working and in dont know in the moment where my mistake is.
can pls somebody look whats the problem is and give me a hand....
this alway end with a failure => unexpected symbol near '=' in line 9
1. local slopebox = {}
2. local px = 0
l3. ocal py = 0
4. local kreis =180
5. local r = 0.25
6.
7. for pk = 0, 180 do
8. px= r * math.cos(pk),
9. py= r * math.sin(pk),
10. slopebox[pk+1]={px, -0.5 , py, px+0.1, 0.5, py+0.1}
11. end
circle function in lua for node box
circle function in lua for node box
Last edited by tkerwel on Thu Jul 19, 2012 08:20, edited 1 time in total.
++++ Kung walang tiyaga, walang nilaga. ++++
Who is online
Users browsing this forum: No registered users and 8 guests