is there a way to make vector3 forces faster while keeping it’s distance?
i have a shove mechanic and when you shove somebody, it’s meant to throw them back a little bit, but to keep it realistic they shouldn’t be slowly moving backwards.
Here is the function it runs off of:
local function Shove(target, attacker) local VectorForce = Instance.new("VectorForce", target) local Attachment = Instance.new("Attachment", target) local direction = (target.Position - attacker.Position).Unit print("LV, and Attachment have been isntanced") VectorForce.Attachment0 = Attachment VectorForce.Force = (direction).Unit * 2000 -- This is what changes the force, it either makes you FLING back, at the cost of the recieving character unrealistically flying backwards off of the map, or simply going backwards but extremely slowly, which is not what i want to do VectorForce.RelativeTo = Enum.ActuatorRelativeTo.World print("The instances now have properties.") print("Deleting items") Debris:AddItem(VectorForce, 2) Debris:AddItem(Attachment, 2) end
I just want the movement to be faster without affecting the actual distance.