Can you disable animation collisions?

Basically, when your character is animated, your character will still have collision in its body parts. So if you were to, for example, slide down but have your character dip in the floor a little, this happens :

https://gyazo.com/51e3ad15edb8db8ed64aec22c4c13c1a

The first slide is relatively normal but, if you were to stand still, the animation will get canceled out by the collision of the animation.

Does anybody know how to disable the collisions to prevent it from doing that?

5 Likes

Not sure if disabling collisions in that manner is entirely possible, but you could try adjusting the animation’s priority to movement or action.

1 Like

I think this is more the way you’re implementing the animation rather than an issue with collisions. The only real limbs that should give you collision grief is the head and torso, which have their collide property set to true every frame.

Maybe a custom hitbox?
How would you make a custom hitbox though?

Wouldn’t change anything. A custom character might, but that seems extraneous to create over one animation that isn’t producing intended results.

Then again, I know nothing about your implementation. Not the animation properties, nor what code you’re operating to make the slide happen.

You could fix this by putting the head and upper/lower torso parts into a collision group which doesn’t collide with the default collision group for the time the animation is playing.

14 Likes

This helped me a lot, thank you

1 Like

Actually forgot this post existed or even decided to look at the replies, anyways :+1: @Lightlimn

1 Like

I may be late, but this is indeed really helpful! Thank you my dude!

1 Like