Okay. So I’ve used the AssemblyLinearVelocity property to get the velocity of a part. I have tried to use align orientation to make the part face the direction returned using the AssemblyLinearVelocity. However, that didn’t work, and I cant think of any other physics based way to make it face the direction intended. Is there any way to make this happen?
2 Likes
If you are trying “to make a part face a vector3 without using cframe” you can use the Orientation Property which every part has.
Hope this helps!
You could also use this to make the specific part look at another part. However, you have to use CFrame for this
local Part = workspace.Part
local AnotherPart = workspace.AnotherPart
game:GetService("RunService").RenderStepped:Connect(function()
local newCFrame = CFrame.new(Part.Position, AnotherPart.Position)
game:GetService("TweenService"):Create(Part, TweenInfo.new(0.2), {CFrame = newCFrame}):Play()
end)
Result:
Hope this helps!
1 Like
You could raycast to the part you’re trying to face towards and get the part’s orientation