Hi, I have been trying to create a cannon which launches physics based parts, but have run into issues with cloned part's velocities not moving them in the direction i want them to:
Current code which clearly does not work:
local model = script.Parent
local function fire()
local newball = workspace.Ball:Clone()
newball.Parent = workspace.Storage
newball.Position = model.Fire.Position
newball.Velocity = model.Fire.Orientation
end
model.Activated:Connect(fire)
Fire is the floating green part in front of the cannon in the issue gif
So, how do i have the ball's velocity move in the direction the green part is facing (forward) regardless of orientation?
