Character's Head CanCollide = false

I have a script that plays a “slide” animation when you press a key, and the idea is to be able to pass below walls, fences…

The problem is that some character parts, like the Head, always CanCollide and even using by RunService.Heartbeat, you can’t change it to not CanCollide.

There is any possible way to do It? If there isn’t, do you have any idea to let the player pass below those walls and fences?

1 Like

Collision groups.

3 Likes

@DesiredFlamingFire beat me to this, but I’ll post this anyway since I link to a tutorial that actively uses Players as an example.
In this tutorial on the API site, players are filtered using Collision Groups to not collide with each other. This can be easily modified to something such as a walk-through wall or fence as you posted OP.

3 Likes