Please note: I am not asking for a script. I just want an idea of where to begin.
Hey, I am Sam. Recently I have begun work scripting my Throwing Knife (totally original idea) which can be thrown by the user.
The knife works a little (it’s not perfect) but I am having trouble with how I can get the knife to stop when it hits an object.
The knife I currently have tweens (yes I know, this is a bad idea) to the desired position from the Mouse.Hit but if an object gets in the way the knife will not stop because it’s being tweened (it’s also unnatural)
I am trying to aim for something similar to assassin’s knife.
I am really bad with math and velocity and I am unsure on how I can resolve this. If anyone can help by giving me a starting point or an idea of what I can use instead of a tween that would be great. Thanks!