#Is there a clean way to resize a hitbox?

1 messages · Page 1 of 1 (latest)

somber narwhal
#

Hello, I'm curious about making an entity with a resizing hitbox, but as opposed to a moving hitbox it seems like there would be a lot of potential complications. Is there a simple way to resize a hitbox and have it push entities/apply liftspeed as if it were moving? or should I pick a different concept to work with laugheline

little hatch
#

Simply resizing the hitbox is easy, you just assign different things to the Collider, however, to fix liftspeed and stuff, you might have to reimplement a lot. Would having multiple hitboxes that start overlapped, but then move outwards to simulate resizing do what you want

#

Alternatively, could you move the hitbox, but resize in the other direction, so it only appears to be growing/shrinking, but internally is still moving