So basically I have a part attached to a rope, and i’m trying to put :ApplyImpulse() onto it, but it won’t apply for some reason. Is there any alternatives to ApplyImpulse() that I can use to move it?
(no this is not a network ownership issue)
So basically I have a part attached to a rope, and i’m trying to put :ApplyImpulse() onto it, but it won’t apply for some reason. Is there any alternatives to ApplyImpulse() that I can use to move it?
(no this is not a network ownership issue)
Could you show the entire error?
You could try different body movers such as LinearVelocity
There is no error. It simply does not work.
here is the piece of code.
dice.Attachment1:ApplyImpulse(Vector3.new(500,500,-100))
Don’t apply the impulse to the attachment, this doesn’t work.
Apply it to the part instead.
my mistake, I was testing different methods. Neither option works. The part or the attachment.
I don’t see the problem, I’ll test it out myself and see if I can find out why it isn’t working.
It works for me, here’s how I wrote it.
local AnchoredPart = script.Parent
local TargetPart = workspace.TargetPart
while true do
local v3 = Vector3.new(100,0,0)
TargetPart:ApplyImpulse(v3)
wait(1)
end
Make sure to use a vector3 instead of a number, just using 3 numbers won’t work.
Hope this helps.
this did not work. but it let me know what I was doing wrong. I don’t think forces can be applied locally.
Thanks for the help.
Ohhh, you’re using a local script?
It has to be a server sided script in order to work.
i just cloned the part to client, and then it worked.