The Physics World

Before any physical reactions can occur in GameMaker you must first define the physics world in which they are going to happen. If you do not do this, GameMaker will default to the basic collision functions, and all other physics related code or settings will be ignored. You can set up the physics world from the Room Editor, but you can also set the same properties using code with the following functions: