- Edited
Hello. Im just programming a new game with one problem: I made a KinematicBody2d node as a player and also a tileset, both have collisionshapes. I also tried to make gravity (the game will be a platformer) with this line:
extends KinematicBody2D
...
func _process(delta):
...
position.y -= delta * speed * -1
The Problem is: the player is falling through everything and i dont know how to fix it. It would be nice if smb could help me.