I figured out that since ezrotate returns angle values no larger than 180 for x and z and 90 for y, sin/cos wont work right as far as I know.
an example is this:
sync on
sync rate 60
make object cube 1,1
do
EZro_LY mousemovex()
EZro_FindEuler
rotate object 1,EZro_GetEulerX(),EZro_GetEulerY(),EZro_GetEulerZ()
vx#=sin(EZro_GetEulerY())
vz#=cos(EZro_GetEulerY())
x#=object position x(1)
y#=object position y(1)
z#=object position z(1)
if spacekey()=1
z#=z#+vz#
x#=x#+vx#
endif
position object 1,x#,y#,z#
sync
loop
Play around with this code and you will see what I mean.
I hope you can help me with this as I really like your plugin
and you seen very devoted to helping people with it.
Thank you