Bullet instance wont collide

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Imreness
:warning: Old Version Published before Godot 3 was released.

Hi everybody!

Im a really noob at game development, since I only got started. But I started a pretty easy a wave based Top-down shooter. My problem is, that the bullet just ignores all the collisions, and just goes. I use Kinematic-Body2D for the bullet. I use set_pos(pos)

I tried this with my player node (which is a Kinematic Body as well) and its works with that. (The player will collide with set_pos()). So, what am I doing wrong? I remade the bullet scene several times, but still no luck. Also, sorry if this is a stupid question, again, Im just getting started.

Have you checked out the Simple Collision tutorial? It has some good info regarding physics object collisions, including proper node hierarchy and collision detection.

ericdl | 2016-11-05 19:15

:bust_in_silhouette: Reply From: MrMonk

have you tried using:
move(Vector2(direction * speed * delta,0)) instead of set_pos().
Does your bullet have a collisionshape ? Without seeing the settings you have and or the code, is difficult to say what the problem is.

Thanks, its worked.

The problem really was, that I kept using set_pos(),
Otherwise it was good, it had everything.

Imreness | 2016-11-05 19:44