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

How do you make a model point towards a part?

Asked by 4 years ago

I'm not that good with CFrames, so please make your explanation easy for me to understand. I'm wondering if I theoretically built a turrent and I want it to rotate along the X-Axis pointing towards the player if it touches a certain part (or you could use distance if you want). I was wondering how to do that with the :SetPrimaryPartCFrame() function.

0
I mean an axis that points toward the player but doesn't do funky stuff. ImNotKevPlayz 4 — 4y
0
Okay, I meant Y-Axis. I just found out. ImNotKevPlayz 4 — 4y
0
I've made some turrets waay back when... The code should still be good but i think the turrets may break on trying them, They are using BodyGyros to move the model of the turret. LINK: https://www.roblox.com/library/13498106/Ai-Pack-V1-0 TGazza 1336 — 4y

Answer this question