Trying to set a tool grip’s orientation, and it’s not coming out accurate. No, I am not using ToolGripEditor. I am strictly trying to do this within a script.
What I want the grip to be:
Grip = CFrame.new(0, -0.3, -0.4)*CFrame.Angles(math.rad(20), math.rad(100), math.rad(0))
(Code for inserting this grip^)
if RevolverTexture.Grip ~= "None" then
Weapon.Grip = RevolverTexture.Grip
end
What the tool grip comes out as:
1 Like
lanenorth
(lanenorth)
June 16, 2025, 2:39am
2
I’m unsure if this will completely fix this but did you try instead of CFrame.Angles, CFrame.FromEulerAngles or FromEulerAnglesXYZ?
Nope. Didn’t change anything.
char lim asdfasdfasdfasdf
try using CFrame.fromOrientation instead of CFrame.Angles:
Grip = CFrame.new(0, -0.3, -0.4) * CFrame.fromOrientation(math.rad(20), math.rad(100), math.rad(0))
baseparts orientations are in YXZ order, which .fromOrientation returns, .Angles returns it in an XYZ order.