Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Rotate a part via. a certain position?

Alright, so I'm trying to make a cannon that you can aim up and down and stuff, but I haven't exactly figured out how it was going to go up and down without doing advanced cframe stuff. Can someone tell me how I can do this? (Basically what I mean is rotate the part instead of from the center, from a certain position)

1 answer

✓ Accepted answer

Weld all of the cannon parts to a main part. Then add a BodyGyro into that part, making sure it is unanchored, and set its cframe property to the CFrame location you want it to look at.

This discussion is preserved as it was. New answers, comments, and votes are closed.