Stop projectiles from sticking into walls?


So there’s an issue with projectiles in my game. The issue being that projectiles will stick onto the ground before shortly after popping out. I’m using FastCast for moving the projectile and whatever.

local function LengthChange(cast, lastPoint, direction, length, velocity, bullet)
	if bullet then
		local bulletLength = bullet.Size.Z/2
		local offset =,0, -(length - bulletLength))
		bullet.CFrame = CFrame.lookAt(lastPoint, lastPoint + direction):ToWorldSpace(offset)

Any ideas?

Could be this

Wydm by that? I’ll respond once you give me more information about what you posted.