how would i replicate the behaviour of something like
BodyVelocity.MaxForce = Vector3.new(0, y, 0)
or
BodyVelocity.MaxForce = Vector3.new(x, 0, z)
with LinearVelocities?
how would i replicate the behaviour of something like
BodyVelocity.MaxForce = Vector3.new(0, y, 0)
or
BodyVelocity.MaxForce = Vector3.new(x, 0, z)
with LinearVelocities?
BodyVelocity
is deprecated
You can do something like:
AssemblyLinearVelocity = BodyVelocity.Velocity
There is nothing like max force in the Linear Velocity
You need to give the required force, like if a block is 10 g weight, just assume, you need to give it 10g to move it with a constant speed
To find weight you can do
local weight = instance:GetMass() * game.Workspace.Gravity
By this you can find weight, and if you want it to move 20 studs, then keep the force
local requiredvelocity = Vector3.new(weight + (20*game.Workspace.Gravity),0,0)