I gathered that but how can I solve this ? The tutorial on Godot Docs seems out of date, and I’m just learning the engine (and scripting too) ? Can I input a parameter into the get_collider() for this to work ? or I need another function ?
Yes, you can pass an integer index to get_collider() to get an object. I never use this form, so I’m not familiar with what you get in return. It seems like it returns the actual object being collided with rather than returning a KinematicCollision3D.
I solved it ! Indeed I forgot the index int in the “get_slide_collision(index)” func. My reading capabilities were the problem. Sorry for the inconvinience and thanks for the help !