Topic was automatically imported from the old Question2Answer platform.
Asked By
SamStackz
I was wondering if I could use groups or custom resources to make a global gravity physics system in my 2D game so I could just call it in a script attached to a resource or a group and make all things have gravity as much as the player, enemies, objects, etc.
KinematicBody2D is for implementing bodies that are controlled via code. Kinematic bodies detect collisions with other bodies when moving, but are not affected by engine physics properties, like gravity or friction.
so, you either have to change your player and the enemies to rigid bodies or you have to imnplement your own physics/gravity system.