How would I make a part rotate on another part?

Hello, I’m trying to make a realistic blood system but the problem is I don’t know how to make blood stick to walls.

I want blood to be rotated accordingly so it looks like it stuck to a wall.

Thanks for reading.

1 Like

Use a raycast to define the normal angle. I dont know what to do with that tho, so your gonna need some more research about that

2 Likes

Search for ‘bullet hole on surface’. There are a few posts about it.

2 Likes

So I have found this: CFrame.new(ray.Position, ray.Position + ray.Normal)
It almost works.
RobloxStudioBeta_yk9BrDug8s
Its just opposite of what it should do.
On the wall its pointing up and on the ground its pointing right.
Can anyone help me fix this?

1 Like

try CFrame.new(ray.Position, ray.Position + ray.Normal) * CFrame.Angles(math.rad(-90), 0, 0)

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.