like basically round the general direction the characters facing into 8 faces. I do not have any attempts on this and added this remark so that u cant just comment and ask whether i have any attempts.
COMMUNITY QUESTION
hoi guys can help me round orientation?
1 answer
after noticing nobody wanted to answer me i did it myself;
place in LocalScript in StarterPack:
while true do
wait(.1)
print(math.floor(game.Players.LocalPlayer.Character.HumanoidRootPart.Orientation.Y / 45 + .5) * 45)
end
3 comments
0
Use CFrame instead of the Orientation.
0
what do you mean
1
Manipulate the CFrame of HumanoidRootPart. You even have CFrame.Angles to make this easier.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
wow a clean comment line(as of 2/4/2019 UTC 2:13). This just goes to show how many ppl will ask u whether any attempts were made before even considering helping u
just saying, the lack of description was probably discouraging them