Simple Game Physics Question

Blitz3D Forums/Blitz3D Programming/Simple Game Physics Question

Ok, last bit of help I need...I have bouncing objects working, but I'm not quite sure about one point. Since instead of using moveentity I'm adjusting x, y, and z velocities, I have no clue how to decide exactly what direction the object is aimed at when I create it. I know the exact direction, as in rotateentity direction, that I want the object to intitially move in, how do I convert that into the needed x, y, and z velocity?