Hmmm I run into problems with something that should be very simple.
VB6
I have:
mymesh.setrotation (0,0,0)
Say that I want to be able to set the rotation of any tvmesh to 0. So I make a separate sub:
setrotationzero(mymesh1)
setrotationzero(mymesh2)
setrotationzero(mymesh3)
private sub setrotationzero (byref meshtorotate as tvmesh)
meshtorotate.setrotation (0,0,0)
end sub
However, it doesn't work. I get no error, the program just blocks. If I comment out the calls to this sub, the program works. What am I doing wrong?