I’m attempting to convert a global vector to a velocity compatible with vector force. Not sure what description I could put here. Any help is appreciated.
What do you mean? You have a vector in a direction and you want a vector force to push it in that direction?
local yourVector = Vector3.new(1,0,0) -- random test vector
local vectorForce = yourVector.Unit * 100 -- number is speed
1 Like
No I have the velocity of an object and I want to apply that as a force in a Vector Force
You can’t apply velocity “as a force”.
If you want to make a certain part travel at a certain velocity, use Part.AssemblyLinearVelocity
.
Force and velocity are fundementally different.
Force = mass * velocity / time
And velocity is… well… velocity.
Edit: Unless you mean apply a force such that it reaches a certain velocity after a certain period of time.
I understand this. I’m asking how I convert a global vector to the local space of an attachment so I can use it in vector force.