Body Velocity acting wierd

I dont know if this is the right category but it is related to a script.

So I have a body velocity. For some reason when i change the velocity it wont actually move the object. But for some reason if i add a cframe or vector3 changing its position slightly it will move. This would be fine but it is SUPER buggy to the point of glitching several studs back and forth. If you need any code samples ask me.

It would be helpful to see your code, and a video demonstration of the issue, so that we can figure out what the cause is.

Are you sure the part is not Anchored? Are you sure that you are applying enough force to account for the part’s mass?

What’s the maxforce of the bodyvelocity? Could just be you’re putting it in something that’s too heavy for it to move with the default properties.

The problem isnt that it doesnt move. The problem is the body velocity will only update it velocities when i use a cframe to move it as well.

Yes there is like 3 parts that are pretty small and it is 100000000, 1000000, 10000000000 or something. And no it isnt anchored.

???

This doesn’t sound like any issue I’ve ever had. Sounds like the part is either anchored or welded to something. Manually CFraming a part that is the Part1 of any particular Weld or Motor6D breaks those attachments.

no it is lifted off the ground as it is a hovercar. here is the place to see what i mean: HoverCar Testing - Roblox

to see what i mean try pressing the w, a, d keys for a minute. Then try pressing s. I have s activate a cframe so it moves it.

1 Like

Basically the body velocity only updates when i change the parts position.

while wait(0.1) do

script.Parent.BodyVelocity2.Velocity = script.Parent.CFrame.lookVector * script.Parent.Speed.Value

script.Parent.BodyVelocity2.Velocity = Vector3.new(script.Parent.BodyVelocity2.Velocity.X, 0, script.Parent.BodyVelocity2.Velocity.Z)

end

That is the code to change the position

https://gyazo.com/f874615eefd8ea268d430569ebd42ec3

Try this?

local part = script.Parent

while wait(.1) do
part.BodyVelocity2.Velocity = (part.CFrame.lookVector * Vector3.new(1, 0, 1)) * part.Speed.Value
end
1 Like

No it is acting the same as it was before

I dont even get why it is acting the way it is

Ever fix this? Having same problem