I want to get the velocity of a part, but I want it to be in the x or y or z direction relative to the part and not the world, when the part is oriented in a direction other than 0,0,0. How can I get this local space velocity?
COMMUNITY QUESTION
How can I get the velocity of a part in a direction relative to the part?
1 answer
https://developer.roblox.com/en-us/articles/object-world-space
part.CFrame:VectorToObjectSpace(part.LinearAssemblyVelocity) will output the velocity vector of the part as relative to the CFrame of the part (in terms of its x,y,z axises)
This discussion is preserved as it was. New answers, comments, and votes are closed.
