Tween and Touched event

Hi,

I have two parts where cancollide is false, can touch is true and anchored is true.
In one of the parts I have a script:

script.Parent.Touched:Connect(function(hit)

print (hit.Name)

end)

If I tween these two parts on a collision course the Touch event never fires. If I walk the player over the part then it works even when the part is moving during the tween.

Why does tweening two parts not fire the touch event please?

Thanks.

It’s because the parts actually won’t detect other parts unless it’s affected by physics, which won’t happen when both of them are anchored and you’re also tweening them. You can use LinearVelocity on both parts to fix this.

1 Like

ok thanks for the explanation and tip!

1 Like

Mark his post as the solution if this fixed your problem!

4 Likes