I have thought about using a ratio or something, such as a speed/zspeed ratio, where it would take into account the zdirection / 90 or something like that.
The method atthe moment is just:
z += zdirection / speed;
Where:
z = obj_player.z; zdirection = obj_player.zdirection; speed = 60;
I want it so that it only travels at a speed of 60, not in just on the xy-plane, but up as well. I have tried various different methods I have found on the internet, but they all have the same problem.
Any help would be much appreciated.











