#im stupid and dont know how to do rotations

1 messages · Page 1 of 1 (latest)

round kestrel
#

sooo im stupid and dont know how to do rotations
im trying to do this one rotation but i cant

i tried using google but i dont even know what to type into google

local cframe = CFrame.new(shovel.PrimaryPart.Position + Vector3.new(0,0,0)) * CFrame.Angles(math.rad(-45), math.rad(90), math.rad(0))
local cframe2 = CFrame.new(shovel2.PrimaryPart.Position + Vector3.new(0,0,0)) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(-45))

the one on the left is cframe
and the one on the right is cframe 2

same outcome

anyways i think its cause the order roblox does rotations
or
it could my weld constrains
or
it could be that once rotate it doesnt keep rotatmg on its up direction and just uses general up direction

anyways even if i knew which i still wouldnt know how to fix it
idk i dont really a bunch mess with cframes angles
please smart person help

#

its whatever
this works good enough CFrame.Angles(math.rad(0), math.rad(180), math.rad(-45))