0 votes

Hello,
So i would like to check before moving a player if child Area2D is colliding with a certain TileMap. The game is turn based so there is no need to check for collision in every frame, every method I found requires moveandslide which I do not use. Player is moved via "self.position".

Basically I want to check if there is a TileMap tile in the way of player movement with Area2D

Godot version 3.2.3
in Engine by (14 points)

Have you checked the [Node]>[Signals] Tab?

There should be a signal body_entered for area2d that you can use to check if something is overlapping with your area2d.

oh thank you it works

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.