In popular fps games, you can slide under obstacles. I’ve made my slide mechanic but I was wondering, how would I go about sliding under something.
A video example is below of the slide animation
Maybe turn off collisions for your humanoidrootpart, head, and arms when you slide?
Wouldn’t that make you fall off the map, downwards?
Your legs still have collisions so you won’t fall off the map.
Funny how I am also working on sliding right now. Yeah I just turn off HRP collision.
Ah, I just tested it, perfect. Thanks
1 Like
Yea, mark my post as the solution if it works.
The CanCollide property of BasePart instances belonging to a player’s character will default back to true when set to false through a script.
Wouldn’t collision groups be better suited for this task?