How to make smooth throwing?

Hello,

How i can make smooth model throwing?

I have Grab system and if i want to throw a model with primary part then this happen:

2 Likes

Can you please provide us some code? If you don’t show us the code we can’t really help you.

Here is my local script:

local function Shoot_Item()
    local Grab_Part = Player.Character:FindFirstChild("HumanoidRootPart").Grab_Part
	local Item = game.Workspace:FindFirstChild(Player.Name .. "_Item")
    Item:Destroy()
    wait(.05)
    local Model = game.Workspace.Players_Items_Placeholder:FindFirstChild(Player.Name .. "_Item")
    Model.Parent = game.Workspace

    Model:SetPrimaryPartCFrame(CFrame.new(Grab_Part.Position))
    Model.PrimaryPart.Anchored = false
    Model:SetPrimaryPartCFrame(CFrame.new(Grab_Part.Position, Mouse.Hit.p))
    Model.PrimaryPart.Velocity = Model.PrimaryPart.CFrame.lookVector * 50

    Model.Name = "GItem"
end

You need to set the NetworkOwner of the box to the desired player. The reason it’s choppy and only moves when you go near it is because NetworkOwnership is auto-set to the player when they are nearby.

2 Likes

Yep i added Model.PrimaryPart:SetNetworkOwner(nil) and its working thank you :slight_smile: