Hey guys, I've been focusing a lot more on getting better at manipulating CFrames and I came across something kinda peculiar. I gotta thank people like AxisAngles for both expanding my knowledge and also confusing me even more.
Seemingly, you can multiply a Vector3 into a CFrame like this without error:
Cube.CFrame = CFrame.new(Cube.CFrame * Vector3.new(0, 5, 0))
But when you divide a Vector3;
Cube.CFrame = CFrame.new(Cube.CFrame / Vector3.new(0, 5, 0))
You get an error like this:
19:48:10.072 - attempt to divide a Vector3 with an incompatible value type or nil
In my mind, and I assume a lot of peoples, multiplication and division are inversely related.
I've also read this from AxisAngles:
"If we say that CFrame * Vector3 multiplies a Vector3 out of a CFrame, then we can say that CFrame:inverse() * Vector3 divides a Vector3 into a CFrame."
So doing this:
CFrame:inverse() * Vector3
Implies that its the same as dividing, but whenever you do divide, it throws the value type error.
So what's up with this? Why does it happen?

1 comment
Thanks a ton mate. This makes a lot more sense when you put the actual size of matrixes into perspective. Never even thought of that.