#💬 bericulaʹs Feedback
1 messages · Page 1 of 1 (latest)
@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?
Yes, the blue snake models for when does the "Thy end is now!" And "Prepare thyself!" And "Crush!" attacks are premade models
Hit box wise, I coded multiple methods of hitboxes for Minos Prime
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
Thanks
Btw
To attach hitbox, do you clone() and destroy() after?
For this, its getpartsinpart right?
or region3
idk
Pretty much, but instead of destroy, it's game:GetService("Debris"):AddItem(blueSnake, 1), so I don't need to destroy every time.
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