#Help with applying linearvelocity
70 messages · Page 1 of 1 (latest)
ik that
check if a part in the assembly is anchored
nope its not
wth is assembily mass
mass of the assembly
maxforce?
no part's assemblymass
yuh?
it will be 0 or NaN
since unit of vector3.zero is NaN
check what the arguments are
so if you lift it up in air it should be not moving
what exactly do you mean
what the arguments are to the function?
** You are now Level 9! **
ts
dw the keydown works
oh
no idea then
i have replicated the addvelocity function behavior and it works for me
it is the same
my roblox studio is tweaking ig
but still try
ohh wait nvm you said the attachment and linearvelocity are being created
oh
can you send a screenshot of linearvelocity properties
so the part is anchored..
nope
because all these properties lead to it being active but not if the part is anchored
this wierd af the part dosent move for like 2 minutes then starts moveing a little bit then stops then actually moves
wrap it in a code block
like this
function testFunction(a: number): () -> number
return coroutine.wrap(function()
return -a
end)
end
```lua
function testFunction(a: number): () -> number
return coroutine.wrap(function()
return -a
end)
end
```