How do I get it to spin on the local axis instead of the global axis?
script.Parent.BodyAngularVelocity.AngularVelocity = Vector3.new(0,0,2000)
How do I get it to spin on the local axis instead of the global axis?
script.Parent.BodyAngularVelocity.AngularVelocity = Vector3.new(0,0,2000)
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
script.Parent.BodyAngularVelocity.AngularVelocity = script.Parent.CFrame.lookVector * 2000 . Taa-daa
Just additional info: Part.CFrame.lookVector represents the part's local Z-Axis. There's also CFrame.rightVector and CFrame.upVector, which represents the part's local X and Y axis, respectively.
THANK U!!!!!!!!!!!!!!!
but still it doesnt spin normally
Hello, what do you mean by "normally"?
It loses it axis over time