@bluetale said:
if !vector.parallel?(Z_AXIS) then > up = Z_AXIS > else > up = Y_AXIS > endthx
But I receive an error if the faces normal is parallel to Z_AXIS.
I have added the following lines and it seems to work, but is it the correct solution?
It's a good trap! π
PS you don't need the 'then' and perhaps more 'simply' put