Hello! I am Domderp999. I am a Live Event Creator, and I am curious, how can I make a part face towards a certain position? So, I made a For Loop that spawns 50 parts in random positions using math.Random for all X, Y, and Z. So once they all spawned, I made them all a certain size. And now, I want all the parts to face towards a certain position. Say I were to set that position in a variable, all the parts, no matter where they spawned, they would face their Front towards the position. Can anybody help me with this?
1 Like
Hello there, from what im reading, you would want to change the CFrame of each part that you want to rotate, one way could be this:
The first picture can represent your situation with the parts you want to move, the second picture is a script that: Defines the brick that the other parts will look at, gets a list of the bricks in the workspace, goes through the list for the bricks that you want, and changes their CFrame to look at that brick. The CFrame part uses two Vector3’s the position of the brick that you want to move and the position that you want it to look at, in this case the green brick.

