Greetings,
I am making a simple throw bomb script, the bomb is a part already in the workspace, when the player fires it cframes the bomb in front of the player and applies a velocity to it.
https://streamable.com/ckuqcr
https://streamable.com/4472t2
on one side you have the player observing, on the other you have the player throwing the bomb. The network ownership is set to the player
As you can see for the player throwing it looks nice and smooth. However for the player observing there is a visible delay between the part spawning and beginning to move. I tried setting the ownership to the server(the delay was visible for both players) and not setting it at all(looked smooth for the observer but not for the one throwing the bomb)
Not really an issue with the code i think but i’ll post it anyway
Bomb.OnServerEvent:Connect(function(player, mousePosition)
local HC = workspace.AAA
HC.CFrame = Handle.CFrame
HC:SetNetworkOwner(player)
HC.Velocity = (mousePosition - x0 - 0.5gt*t)/t
I’ve tried everything i could possibly think of to fix this but to no avail. Please advise
Thank you for your time