Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Kavi | |
Old Version | Published before Godot 3 was released. |
Hello, i’m having some trouble trying to make this work. I have a bullet scene and a character that shoots the bullet etc. The bullet is a RigidBody2D and the player shooting the bullet is a KinematicBody2D. Is there anyway to check if the instanced bullet has collided with an enemy (KinematicBody2D)?
I added the enemy to a group called “Enemy” Can I detect the collision from the RigidBody2D in groups? like in the KinematicBody2D you can detect collisions with is_in_group(“Enemy”)
Is there any way to do this with a RigidBody2D?