I have a security camera and I put a test spin script in it, but the camera rotates in a weird way. Is there any way to make it look like its spinning from the pole, if you know what I mean? Just like a real life security camera.
I’m pretty sure you need to change the anchor point of your camera model (only the part that spins) and align it with the pole thing. Have you tried that? If you do it, the camera should rotate from the given anchor point, and it will not look weird. Your anchor point is probably in the middle, which makes it rotate along with its middle point and not the point of the pole.
Yeah, I just noticed that, but it’s recommended to do it manually from Studio, but if you really need to script it that badly then I guess that is what you need.
I got it to work by reading some documentation. I just created a small part where I wanted the pivot to be and made it the PrimaryPart of the model. Then, I changed the CFrame of that part with a script.
It is working perfectly right now. Hopefully this helps others.