Skip to main content

All Questions

0 votes
1 answer
40 views

How to get around mouse entry signal stopping at first collision?

I have a grid of Area3D objects, and when nothing is around them, they handle the mouse_entered signal exactly as I would expect. The only issue is that I also use Area3D's on other game objects, like ...
Fred Etingen's user avatar
0 votes
0 answers
87 views

Enemies not registering hits from the player in Godot

I am making a 2D game where the player can attack enemies using a designated Area2D node as an attack area. I set up signals to manage attack phases and ensure ...
buzzbuzz20xx's user avatar
1 vote
1 answer
81 views

Issue with AttackArea Monitoring Before Attack in Godot 2D Game

I'm developing a 2D game where the player character can attack enemies using a designated attack area (Area2D node named AttackArea). I've encountered a problem where the AttackArea is active and ...
buzzbuzz20xx's user avatar
0 votes
1 answer
380 views

Detect collisions with both parent and child nodes in Godot

Using Godot 4.2.1, I have a 3D scene with a CharacterBody3D as the root. It has two children; a child CollisionShape3D, and a child CharacterBody3D with its own collision shape. ...
devil0150's user avatar
  • 123
1 vote
1 answer
438 views

Area2D only detecting body_exited once

I am new to game development, I am practicing by creating a pong game. I currently have an Area2D set up with a signal listening for ...
zeroparity's user avatar
0 votes
1 answer
164 views

How can I make colliders-only visible in Godot?

Specifically, I'm looking for any way to see a collision-only item from a Mesh Library in a GridMap. (The tag says "tile map", which it technically isn't; but there's no option for a grid ...
Michael Macha's user avatar
1 vote
1 answer
278 views

Detect intersections between an `AABB` and a `CollisionShape3D`

I thought this would be a simple matter of getting the mesh that defines the CollisionShape3D and checking if any of the triangles of the mesh intersect with the <...
beyarkay's user avatar
  • 127
1 vote
1 answer
95 views

Bullet not colliding with either plane or drone

i made a godot game in which theres a player and a drone, I got the shooting to work but when i tried to make it so that the bullet attacks the drone/player, it wasnt working properly. Basically i ...
Shahzaib Hassan's user avatar
1 vote
1 answer
440 views

Increment score when player touches a coin's Area2D

I have created and finished my game in Godot, but I want to add a scoring system. Specifically, I want the score to increase by 1 every time the player touches a coin. However, I am not sure how to ...
Shantanu's user avatar
3 votes
1 answer
1k views

Equivalent of RigidBody2D's body_exited on StaticBody2D?

I'm building a type of Pinball game using Godot 4.0. I've got two types of components relevant to this question: balls, represented as a RigidBody2D scene with <...
Jeroen's user avatar
  • 635
0 votes
0 answers
182 views

How can I debug a y-sort clipping issue?

OS: Mac Godot 3.5.1-stable Language GDScript I have created a Level object as a YSort. Under it I have a ColorRect, 2 Tilemaps, a Tree Scene, and the Player. The tree scene is composed of a ...
Doug Noel's user avatar
  • 101
2 votes
1 answer
2k views

Godot: is_on_floor always false

This is an extremely simple game (following tutorial). My code and configuration allows the actor object to fall on a platform made of tilemaps and not fall through, but the function is_on_floor() ...
user289661's user avatar
0 votes
1 answer
216 views

Godot KinematicBody2D Invisible After If Statement

The reason I address this question is because of the limited documentation and support for starting devs on Godot. I do not know what is wrong with this one if statement, but after I added it, my ...
Athsmooth's user avatar
3 votes
2 answers
1k views

How to differentiate between enemy and something else in Godot?

So, I have a simple 3D game with a player, an enemy, and walls. I've figured out how to detect collisions between my player (RigidBody) and an enemy or wall (Static Body). I want to know how can I ...
Programmer's user avatar
2 votes
1 answer
697 views

How can I keep a node in-place while I re-parent it?

I have an object that needs to follow various Path2D paths in my scene. To do this, when it needs to follow a path, I re-parent it to a ...
yoozer8's user avatar
  • 1,144

15 30 50 per page