Allow GetVelocityAtPosition to be called in parallel

Currently, acquiring the velocity at a given position in parallel Luau requires manually doing all of the necessary math, which is rather annoying given that there is a method designed for the express purpose of getting this exact value (see GetVelocityAtPosition)

This is especially annoying because all of the necessary properties are (at least) parallel read-safe, including:

  • CFrame
  • AssemblyLinearVelocity
  • AssemblyAngularVelocity
  • AssemblyCenterOfMass

Is there any reason in particular that GetVelocityAtPosition is not thread safe, despite this data being available? It doesn’t make much sense to me.

9 Likes

We are going to consider making it available in Parallel Luau.

1 Like

Looks like it has been done.

3 Likes

Yes, it is now available. We forgot to reply here.

4 Likes