#trying to set the pivot of a tool with orientation + cframe position, for some reason inverts

1 messages · Page 1 of 1 (latest)

mild eagle
#

hello, trying to set its pivot with a set Orientation and CFrame

this is the display information

local toolDisplayInfo = {
    Orientation = CFrame.fromEulerAnglesXYZ(math.rad(-10), math.rad(-90), 0)
}```
and yet when i use
```lua
clonedTool:PivotTo(toolDisplayInfo.Orientation)```
I get this 

i have tried resetting its pivot to 0, flipping the orientation, none of it works.
#

any help is appreciated............

#

tried using euler and angles, got the same result

#

so ya erm. no luck @bleak thicket

#

What.?

#

Ok

#

HUH?

#

I flipped it and it just gives this now bruh wtf

#

even with euler

#

its still 0, -90, -10

#

no

#

its supposed to be -10, -90, 0

lime raptorBOT
#

studio** You are now Level 8! **studio

mild eagle
#

ok i just used fromEulerAnglesYXZ and it all of a sudden worked! Wow I LOVE roblox! Such great sense

#

because for some reason Angles and EulerAnglesXYZ are completely different from YXZ

#

makes perfect sense!!!