Im confused about CFrame and why they're adding multiplication on it? and How it work?
For Example Something like this:
local CF = CFrame.new(1, 2, 3) * CFrame.Angles(math.rad(14), math.rad(72), math.rad(-32));
Im confused about CFrame and why they're adding multiplication on it? and How it work?
For Example Something like this:
local CF = CFrame.new(1, 2, 3) * CFrame.Angles(math.rad(14), math.rad(72), math.rad(-32));
im gonna assume u mean by this
a * b
where a and b are CFrames.new's
so to answer ur question what the multiplication sign does here is to get the combined location of the two CFrames.new's
So like, if u ran the operation there and plotted it on a 3D graph ull see the average of the two CFrames will be exactly in between the two original CFrames if u still dont get it
However, when u have a CFrame.new average with a CFrame.Angles and plot down on a 3D graph, ull get a marker on the position of the CFrame.new, with rotation according to the paramaters of the CFrame.Angles averaged with the CFrame.new's rotations. Its the same thing really, but seeing that u cant really grasp it now ill just tell u that to fit ur exapmle better
e.g for instance 1:
https://gyazo.com/0a61037fca7ac53e2100773884c3114e
e.g for instance 2:
https://gyazo.com/7be084429a19677098f0dd2485634d17
so yeah sorry for not formatting the links but u could see that it gets the combined angles(i hope)
i still dont get it but thanks for answering my question
ok let me show u
hhh
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
"adding" multiplication lol
sorry im not good at english because i am from another country
i dont think thats a problem with language its a problem with maths
https://en.wikipedia.org/wiki/Matrix_multiplication