Vector force don't work as intended

Hello , I’m trying to make a part go to the lookvector direction with VectorForce , but it’s not going to the right place.

Part = script.Parent

VectorForce= Part.VectorForce

VectorForce.Force = Part.CFrame.LookVector * 500

With bodyforce this works perfectly, but with VectorForce it doesn’t.

1 Like

I think it works a bit differently.

i don’t know much about it but, i think moves the brick in the direction that the Attachment is facing.

Part = script.Parent
local attach = Instance.new("Attachment")
attach.Parent = Part
VectorForce= Part.VectorForce
VectorForce.Attachment0 = attach
VectorForce.ApplyAtCenterOfMass = true
VectorForce.RelativeTo = "Attachment0"

VectorForce.Force = Vector3.new(500,0,0) --If this does not work make the number higher.

Edited🐧

2 Likes

Just needed to change the vectorforce properties of “Relative to” . from attachment0 to World.

1 Like