Im trying to set my gun's bullets to the same x orientation value as the gun, so the bullets will just fly straight out instead of toward the mouse cursor. I can set the orientation manually to (0, 0, 0) or whatever, but I can't find anything that can get the orientation of an object. I feel like there should be a simple command like :GetOrientation that I'm missing, but I can't find anything about it. Help?
COMMUNITY QUESTION
How to get x orientation value or a part?
1 answer
Use the Orientation property. It contains a vector3, so you can use part.Orientation.X.
Hope this helps!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thx for the answer, it worked. I can't believe I didn't realize Orientation.XYZ was a thing. However, is there a way to get the player's x value. Like a body gyro or something?
X value of what?