I have a brick with a bodygyro in it. The bodygyro has a different CFrame rotation from the brick's initial CFrame, so when the game first runs, it'll take a bit of time before the brick reaches the same rotation as the bodygyro, after which I'd like to anchor the brick. How can I check if the brick reaches the same rotation as the bodygyro?

2 comments

0

You can probably use a Changed listener function to do that.

0

What do I write to check if the rotations match? if brick.CFrame == BodyGyro.CFrame then anchor brick?