Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I have this part point towards another part but it is rotated on the y axis?

Asked by
Hexcede 52
9 years ago

I've tried this but it won't seem to work. It is supposed to be a compass that points to a part but it won't stay in the same location it should be and it points on the wrong axis. My idea I have is a compass needle to point to something.

c = CFrame.new(tool.Hinge.CFrame:inverse().p, Vector3.new(0, target.Position.y, 0))

1 answer

Log in to vote
0
Answered by
Hexcede 52
9 years ago

I needed to inverse it but I figured it out!

Ad

Answer this question