Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Blogd |
I have a kinematic body that uses get_slide_collision()
and i wonder if it registers rigid bodies as well
because when i collide with one it does not.
it works when i collide with an tilemap that has collision.
the code goes as follows: (inside the kinematic body 2D)
for u in get_slide_count():
var bodies = get_slide_collision(u)
print(bodies.collider.name)
if you want more code just ask me and i also have contact monitor set to true on the rigid body and contacts report are set to 2
MvH
Billy Lögdahl