How would I remake this? (1) How would I do this? - YouTube
Edit: How would I make the particles?
2 Likes
Probably by adding a negative part to the mouse position and attach it to the target relative to the mouse position, the unioning the negative part to the waffle so it digs into it
1 Like
Create parts with random CFrame offsets from your bite position, then negate those parts from the part you want to bite (needs to be union or part) using Part:SubractAsync(SmallParts)
1 Like
Sorry I didnt specify. How would I make the particles?
1 Like
Depending on how complex you want your bite to be, create a bunch of parts, heres how it would be in code
(dont try to use my code, it likely wont work. Use it to see how it would be done, and do it yourself)
local TargetPart = ...
local SmallParts = {}
-- creating smallparts
for i = 1, 4 --[[Amount of detail]] do
local NewPart = Instance.new("Part") -- creates a new part
NewPart.Size = Vector3.one * 1.5 -- setting a size for the parts
NewPart.CFrame = CFrame.new(TargetPosition) * RandomOffsetCFrame -- RandomOffsetCFrame, you have to do yourself
NewPart.Parent = workspace -- IMPORTANT, parts must be in workspace to be used in union operation
end
TargetPart:SubtractAsync(SmallParts) -- creates the union operation and subtracts the parts
-- destroy subtracted parts
for _, Part in SmallParts do
Part:Destroy()
end