#Help
8 messages · Page 1 of 1 (latest)
How the ball moves when it is shot
You give the ball a velocity towards mouse.hit
Mouse.hit would be the wall
local HitForce = (Mouse.hit - workspace.CurrentCamera.Cframe.Position).Unit * Force
That gets the direction of the ball, then you multiply it by how strong you need the kick to be and add it onto the ball's assemblylinearvelocity
BEFORE YOU READ THIS ARTICLE This is an old article, though not exactly outdated and still very informative, it’s better to use the new Drag Detectors, they’re a much easier solution, give you very good control over the dragging, replicates for you, and hell, is even better than the solution in this post. Certainly easier than just copy pasti...
Ignore the drag part, scroll down and look at the vectors and mouse.hit and it will explain what I just talked about
** You are now Level 1! **