How to make a projectile go on a set speed and based on where the player is facing?

ball.Velocity = plr.Head.CFrame.RightVector * -90 + 
Vector3.new(sideVelocity,upVelocity,fwVelocity)

I tried using this, which gets the LeftVector of the player’s head and adds the set projectile speed to it. However the ball mainly goes straight.

Depending on the angle of the club, or the players’ head (if you get the left vector) how can I get the ball to go both the set direction/speed and base it on the angle of the player and their club?
image

Can you elaborate a bit more. Like show more of the code and explain your issue more clearly?

I dont really have any other code to show, however, what I am trying to do is

first:
force a ball to go the direction that the player’s club is facing (in this case, to the left of the player)

second:
with the aforementioned projectile/velocity, I want to have the ball go the direction the player’s club is facing plus be influenced by a set forward, up and side velocity.

ex:
if I was looking to the left, with my current code, the ball goes straight rather than left. I want the ball to go left and also be influenced by say a forward velocity of 300, upwards velocity of 100 and side velocity of 4.

Let me know if you need me to clear it up more.

Why not use Camera.LookVector?

Its a serversided script and how would I make sure its the right orientation?

Is this sent through a remote event?
Then try sending the Ball’s velocity from the client to the server, just add sanity checks to prevent exploits like raycasting between the camera and the predicted goal position to see if the hit position is visible and possible

You can use the club’s position, then create a BodyVelocity which is the club’s position minus the ball’s position. This should give the illusion that the stationary object (club) is “pushing” the moving object (ball). This is because destination - origin = direction. We use this directional vector to “push” the object in a direction relative to another position.

wait(5)

local bodyVelocity = Instance.new('BodyVelocity')
bodyVelocity.Parent = workspace.MovingPart
bodyVelocity.Velocity = workspace.MovingPart.Position - workspace.StationaryPart.Position

Well, what I’m looking to do is make the golf ball go where I want, how I want, if you will.

The ball should go forward, from where the player is facing, at a velocity set by me. I believe this is the only main thing, unless I also need to alter the velocities to the side. Long story short, what do I need to do to get the ball to go forward at a velocity I want but still have it go forward from the angle the player is facing?