What is this weird stutter

What is this weird stutter/jitter when I push a object back.
I think that little stutter will hinder the experience of my game.
I’ve tried many ways to fix it.

local target = hrp.CFrame.LookVector;
local vForce = Instance.new("VectorForce",hit.Parent:FindFirstChild("HumanoidRootPart"));
local attach01 = Instance.new("Attachment",hit.Parent:FindFirstChild("HumanoidRootPart"));
vForce.Attachment0 = attach01;
vForce.RelativeTo = Enum.ActuatorRelativeTo.World;
vForce.Force = Vector3.new(target.X*12000,-200,target.Z*12000);		

stutter

1 Like

I believe that would be because it is switching network owners of the model, try giving the player who hits them network owner for the duration of the knockback

1 Like

Yeah, but this “attack” is going to be against other players. I can’t really give the network ownership of a player to another player, i think.

Oh yeah, you happen to be right. This issue only arises when a player is interacting with a game model, it does not happen when a player is interacting with another player.

Marking this as solution for viewers of the post.

stutterSolution

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.