#How to have code run if a tool touches a part?
1 messages · Page 1 of 1 (latest)
useless in this case
You can use spatial query for hit detection
Or Shapecast
Or rayecast
whatever you want really
Literally just use touched:connect()
What does that have to do with hit detection?
Touched wouldn't work in this case
Assuming the movement of the part is made by script, Touched only activates from moves made by physic
OP is also curious on how to detect when the hammer is swung.
Oh I get it
Yea I get it