Im trying to rotate a matrix but it keeps coming back with errors:
local mymatrix = matrix3 1
spinner spn_spinnerx "X Amount"
spinner spn_spinnery "Y Amount"
spinner spn_spinnerz "Z Amount"
button rotate_matrix "Rotate Matrix"
on rotate_matrix pressed do
myrotateM = preRotate [spn_spinnerx.value, spn_spinnery.value, spn_spinnerz.value] -----Here i need help i think
mymatrix = mymatrix*myrotateM
format "mymatrix = %\n" mymatrix
This is within a rollout
Any ideas would be lovely