I want to make a darts game but i cant seem to find a way to make an actual throwable dart that can also stick to any part it lands on, but touched is unreliable and I cant get raycasting to work
Just find where the mouse is clicking on the players screen, make an invisible small block there, script the dart from the players hand to move to that invisible block. The rest idk up to u. If you want practice I suggest learn how to make a gun, it basically teaches what you want and need.
You should anchor the dart when you are done lerping, tweening, adding a body velocity, which ever type of way you want the dart to move
you know, i might be very late to this but i would bind a function to runservice using :BindToHeartbeat()
(i wouldnt use heartbeat i would make that server sided but just an example) that each time its triggered pulls up a spatial query operation workspace:GetPartsInPart()
that detects all of the parts that are touching or inside the dart (i would weld a hitbox part to the dart to make it more accurate, just for a bigger margin) then one it detects one of the dart board parts touching the desired hitbox it anchors it or sets cframe or whatever you’re planning
yeah im really late but if this somehow helps im glad