Pointing character in only cardinal and ordinal directions

Hey! I’m trying make a retro-style game with a style of Blocktales. I was captivated by the style and wanted to recreate aspects of it. One of these aspects is the movement direction. Essentially, the player can move in 8 directions, which are the cardinal and ordinal directions. That is already in Roblox, but I want the player to snap to those directions depending on the direction the player is moving in. Roblox technically does this, but it happens in a smooth manner. I want mine to snap instantly. I have tried but my attempts are futile. I believe it has something to do with the MoveDirection in a character’s humanoid. Thanks! :smile:

2 Likes

Corescripts don’t appear to be the thing doing that interpolation, which suggests it’s the internals of Humanoid:Move(). You could use RunService.PostSimulation to update the current HumanoidRootPart orientation, clamping it on the 8 direction vectors.