E
erryox
Guest
I'm trying to do movement by applying force. But at the same time I want to limit the max speed of the instance. Does anyone know how to do this?
I know that the physical engine in Game Maker works separately in its own cycle. And a simple speed limit like:
does not work well.
Then the question to YoYo Games, why not just add something like phy_speed_x_max and do a speed limit check right in the physics engine? In Unity, for example, this is very simple. But because of one feature I do not want to leave my favorite engine :\
I know that the physical engine in Game Maker works separately in its own cycle. And a simple speed limit like:
Code:
phy_speed_x = clamp(phy_speed_x, -3, 3);
Then the question to YoYo Games, why not just add something like phy_speed_x_max and do a speed limit check right in the physics engine? In Unity, for example, this is very simple. But because of one feature I do not want to leave my favorite engine :\