Troubles with hitboxes


#1

Hey guys, could you help me with something? I’m having an issue with hitboxes

So currently if the player hits the blue square it can’t actually touch the spike, I’ve made a custom hitbox for the spike but it doesn’t seem to have any effect.

image

custom hitbox - https://gyazo.com/c078b915f75a5ce182c74edcf4d0d489

Many thanks!


#2

Did you modify the hitbox of player?


#3

On the properties of the sprite, click “EDIT HITBOXES”, click on “USE A CUSTOM COLLISION MASK” and drag the collision vertices around to fit your image.