Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

Read Only 1 Axis of Rotation From CFrame?

Asked by 1 year ago
Edited 1 year ago

I am attempting to rotate the HumanoidRootPart along the Y axis only to rotate the player towards where the head is facing. The head is locked to the Camera and rotates with it.

I have tried circumventing this problem by using BodyGyro, but it does not satisfy me, as it is loose and inaccurate.

Is it possible to read each specific axis of rotation on a part's coordinate frame? I would like to take only the Y axis rotation of a part and apply that to another.

0
I've attempted to interpret CFrame:toAxisAngle() to no avail. It returns 4 values, and I'm not sure what each one represents. plebgod 0 — 1y
0
Simplified question: How do I get the HumanoidRootPart to rotate where the camera is looking? plebgod 0 — 1y

Answer this question