Search code examples
luaroblox

How do I edit velocity in Roblox 2022?


As part of the new updates, Roblox has decided to remove the Velocity component. Anyone know any work-arounds?


Solution

  • Sorry if this response is late, however I guess it's not too late to answer, since nobody has.

    A roblox staff member has confirmed that a solution to replacing the Velocity component is .GetVelocityByPosition(), however you probably want to use .AssemblyLinearVelocity() or .AssemblyAngularVelocity(), all of this really depends on the context you are using it.

    I also want to clarify, depreciation does not mean you can't use it anymore, it usually means that you are better off not using it, however, just go by the solution, it's better that way if you do.