#💬 bericulaʹs Feedback

1 messages · Page 1 of 1 (latest)

shrewd sedgeBOT
thorny minnow
#

@candid locust

#

I am a beginner

#

just a question

#

For damage, do you do hitboxes

#

like the punches in the video

#

are premade models right?

candid locust
candid locust
#

For the yellow snake he throws, since it's a static object, it gets all of the parts within it's bounding box and checks if you are inside, then damage you

For his regular blue snake attacks, they are all raycasted (Fires multiple rays within a direction and see if you intersect with one, then damage you)

For the "Die!" Shockwave, since the shockwave is hollow, when it is spawned it is connected to a .Touched event and when you touch it, it damages you. The event is disconnected once the shockwave fades

thorny minnow
#

Btw

#

To attach hitbox, do you clone() and destroy() after?

thorny minnow
#

or region3

#

idk

candid locust
candid locust
# thorny minnow or region3

Yeah Region3, I tried using GetPartsInPart but it didn't want to work with the yellow snake mesh, so I just created a bounding box and used :GetPartsInBoundingBox