hello everyone,
since BodyVelocity is now deprecated and no longer supported, is there a way i can make a part not affected by gravity? i tried the Massless property, but it doesn’t work, unfortunately
any help would be appreciated
hello everyone,
since BodyVelocity is now deprecated and no longer supported, is there a way i can make a part not affected by gravity? i tried the Massless property, but it doesn’t work, unfortunately
any help would be appreciated
Linear Velocity works. Just make sure to set Attachment 1, and then it works as a good replacement to body velocity
well, where should i place Attachment1? also, i’ve changed the RelativeTo property to Attachment1, if that’s what i’m supposed to do
You don’t have to move the position of the attachment if you want the same functionality as body velocity.
Also just as a sidenote, if you just set the attachment to Attachment1, then you won’t need to change the RelativeTo (either way works tho)
add vector force always relative to world position and give it vector force:
vector.create(0,part:GetMass()*workspace.Gravity,0)
You need to have attachment aswell
Just add attachment to a part and its default position should be fine
You could just set Anchored on the part… (that was a joke)
This may work for you.
local part = workspace:WaitForChild("Part")
local force = Instance.new("BodyForce")
force.Force = Vector3.new(0, part:GetMass() * workspace.Gravity, 0)
force.Parent = part
this seems to work the best for me
i didn’t really know how i was supposed to setup LinearVelocity, so this works fine for me
thank you very much
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.