Ball movement (physics) problem

So I’m making snooker game and I have problem with ball physics
I tried Velocity and Body velocity and it behaved weird
also idk if it’s better to make it with raycast instead of velocity

I want a better way to do it

here is what I end up with:

And here is the script:

local forcedir = (lv.Position - CueBall.Position).Unit
forcedir = Vector3.new(forcedir.X, 0, forcedir.Z)
local forceMag = p
CueBall.Velocity = forcedir * forceMag

Note: “lv” is the white part in the cue

1 Like

So what exactly is the problem because it looks like it’s moving from the force being applied

1 Like

I don’t want it to move randomly

1 Like

It’s didnt move randomly though, it looks like its not even touching the sides, in the video the ball is reacting to the force off the first hit

Maye try using something like a VectorForce?

2 Likes

I found a post that may be helpful, its old but could work!

If you go to the end of the topic you can find possibly more up to date verisions like this game
(copylock is off)

3 Likes