Can a CharacterController's collision be a one-way platform?

Godot Version

4.6

Question

I have a game idea in which there are two characters. One is a regular platformer character, but the other is essentially a large box creature (like a Thwomp that doesn't harm Mario). You'll switch between characters, and I want the box creature to act as a one-way platform for the other character to help him jump to higher platforms. Is this possible? Applying "one-way platform" to the collision rectangle of the box character doesn't seem to affect how the other character interacts with it (the box character is still treated as a wall).

Try putting an AnimateableBody2D on the CharacterBody2D and make that the one-way collision. Then just don’t have the CharacterBody2D of the box collide with the regular player’s CharacterBody2D.

BAM. Worked perfectly. Thanks!

1 Like