Wednesday, 12 February 2014

Python Scripting - Columns Rotation

The rotation of the columns was a problem initially but I managed to fix the problem with teacher's help. :) The equation was the main problem. :/ Instead of using math.pi inside the move axis, I have to use math.cos and math.sin for aX and aZ respectively. The spacing or gap is to control the space from the pivot(0,0,0) which is the center. (2 math.pi)/10 simply represents 360 degree divided by the number of columns. I have also did the same thing to the torus.

Columns Rotation Solution

Main Structure with columns rotation

And finally! The columns are rotating around the structure. ^^

No comments:

Post a Comment