I'm working on a 2d platformer, and I'm building a companion character to help my Player fight enemies. I want it to be able to walk right through my player, but still collide with things like the floor, walls, enemies, and projectiles.
right now I've built my companion as a KinematicBody2d with an AnimatedSprite and rectangle CollisionShape2d. I tried making the CollisionShape2d have a One-Way-Collision, and at least this mostly keeps it from getting in the way of my Player (the Player can just push the companion around), but I want it to be able to pass right through my Player and run directly to the enemy.
How can I accomplish this?