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

How to rotate a player for a 2D effect?

Asked by 5 years ago

I'm trying to make a 2D effect for a minigame in my main game, and I have the movement down. However, I can't find a way to make the player only face right or left. I don't want them to "turn around" but rather snap to either right or left. I tried orientation of the HumanoidRootPart, but that makes the model fall apart. I tried CFrame, but that puts their position at 0,0,0. Any help on rotating a player 180 instantaneously would be very appreciated.

0
Well if anyone is curious about this, I found a solution for myself. I just created two invisible parts that hover on either side of the player (I just used a weld). Then just set the player to look at whichever one you need - left or right. tygerupercut3 68 — 5y

Answer this question