Need some help with AlignOrientation

Hello, i’m trying to implement a function in my script that rotates the player when my ability is fired, using AlignOrientation.

The problem is that, I can’t find tutorials on how to rotate the whole character with AlignOrientations, and I can’t figure out how to do it.

Can anyone help me out with that?
Thanks!

The humanoidrootpart is responsible for the character, being the characters ‘primarypart’ / rootpart.

Try using that, and to even use alignorientation afaik you need to turn off humanoids.AutoRotate boolean to make sure you can control the rotation.

Obviously autorotate is on being if a player moves the character is in the direction they walk in. / shiftlock (citation needed)

Being off means regardless if they move or (use shiftlock) (pls dont quote me on that) they will stay in the same direction they where when the boolean was set to off unless you CFrame them.
AlignOrientation can use ONE attachment so look into that, just yeah rootpart and autorotate.

2 Likes

That’s the opposite. If I turn it off, I’m not able to control it

Is your code in a (server) script or a local script?

I’ve figured out how to implement AlignOrientation by now.

However, I still have an issue.
The character is not rotating fast enough, even with RigidityEnabled set to true.
I’ve made a post explaining the whole thing:

you sure Responsiveness is set to 200??? the maximum it can react is at the number said here

if it still doesn’t solve the issue, i think you should give the ability a delay for a bit after character rotates