Forces

The physics system in GameMaker: Studio has a number of functions to apply distinct forces within the world.

In the GameMaker: Studio physics world, instances aren’t only affected by gravity and collisions, they are also affected by the forces that you choose to apply to them, and knowing the right force to apply is very important when you want to control an instance correctly within the physics simulation.

The following functions exist to apply different types of forces to physics enabled instances:

  1. physics_apply_force
  2. physics_apply_impulse
  3. physics_apply_local_force
  4. physics_apply_local_impulse
  5. physics_apply_torque
  6. physics_apply_angular_impulse


Back: Physics Functions
Next: Fixtures
© Copyright YoYo Games Ltd. 2018 All Rights Reserved