Hello. This is my first post here.
How can I write a command that does the equivalent of:
function EulerToVectorX(XA#,YA#,ZA#)
make object cube 1000,1
rotate object 1000,XA#,YA#,ZA#
move object 1000,1
output#=object position x(1000)
delete object 1000
endfunction output#
function EulerToVectorY(XA#,YA#,ZA#)
make object cube 1000,1
rotate object 1000,XA#,YA#,ZA#
move object 1000,1
output#=object position y(1000)
delete object 1000
endfunction output#
function EulerToVectorZ(XA#,YA#,ZA#)
make object cube 1000,1
rotate object 1000,XA#,YA#,ZA#
move object 1000,1
output#=object position z(1000)
delete object 1000
endfunction output#
How do I set up this command without using objects? (I.E. use only math).