Throwing knife method

hi!, I have been trying to make a throwing knife similar to the one in mm2/assassin/kat. I made it using a raycast from the mouse hit position and a tween, it wasn’t very good. I just want to know what the best way to do this would be, I think it’d have something to do with velocity but I’m not to sure how I’d make it drop overtime etc. I already tried using velocity but the touch event was very broken. Any advice or suggestions would be greatly appreciated.

2 Likes

I would recommend using FastCast: Making a combat game with ranged weapons? FastCast may be the module for you!. It is an AMAZING module for optimized server-sided hit detection. You can include gravity with your projectile. I would also recommend trying to first get a basic knife flying through the air at the velocity you want and do hit detection first, then start working on the spinning(probably using a AngularVelocity | Roblox Creator Documentation but that is up to you), and finally, work on a tool for players that creates a caster and fires knivers with an initial velocity based on the unit vector of the mouse.Hit.Position and the Character.RightHand.Position.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.