Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:behaviors:physics [2019/01/15 00:47]
4ian
gdevelop5:behaviors:physics [2020/12/26 13:56] (current)
Line 26: Line 26:
 A "Dynamic Object" will be effected by the simulation of the physics engine.  Gravity, forces, and all of the properties listed are a part of the physics engine.  Think of a rolling ball in a pinball game, you would set this to dynamic due to its rolling movement. A "Dynamic Object" will be effected by the simulation of the physics engine.  Gravity, forces, and all of the properties listed are a part of the physics engine.  Think of a rolling ball in a pinball game, you would set this to dynamic due to its rolling movement.
  
-If you do not choose "Dynamic Object",  then you will create a Static or Kinematic object.  These objects are not effected by the physics engine. They will **not** move on their own.  They can be moved by your events and actions (Kinematic). Otherwise, they will just stay where they are (Static). In a pinball game you might use this for the flippers (Kinematic) and the walls and bumpers (Static).+If you do not choose "Dynamic Object",  then you will create a Static or Kinematic object.  These objects are not effected by the physics engine. They will **not** move on their own.  They can be moved by your events and actions (Kinematic). Otherwise, they will just stay where they are (Static). In a pinball gameyou might use this for the flippers (Kinematic) and the walls and bumpers (Static).
  
 **Fixed Rotation** **Fixed Rotation**
Line 41: Line 41:
  
 Friction is used to make objects slide along each other realistically. The friction parameter is Friction is used to make objects slide along each other realistically. The friction parameter is
-usually set between 0 and 1but can be any non-negative value.  A friction value of 0 turns off friction+usually set between 0 and 1 but can be any non-negative value.  A friction value of 0 turns off friction
 and a value of 1 makes the friction strong. and a value of 1 makes the friction strong.