Im trying to add hitbox visualizers to my game (basically semi-transparent parts that help you see the hitbox’s size and stuff), since i figured they could be pretty useful for debugging. I already have the idea down, but is there any way to have hitbox visualizers without writing an entire block of code for them in the script that creates said hitbox?
1 Like
what’s your method for hitboxes
1 Like
GetPartBoundsInBox(), usually.
1 Like
local part = Instance.new("Part")
-- set whatever properties
part.Size = sizeOfBox
part.CFrame = CFrameOfBox
1 Like
Create a part with the same size and position as the :GetPartBoundsInBox() properties.
1 Like