Clearing up rotation amount

Hi all,

Been really enjoying the course so far, but something in this video confused me a bit. Ben starts off by talking about how the sin function is what is important here and then introduces the cross product as a way of getting it. I’m fine with this. What I don’t quite get is the following:

In the last video, we already calculated cos theta from the dot product. We know from Pythagoras that cos^2 + sin^2 = 1, so we can already work out what sin theta is from here. This is what I am currently doing in my code and it looks reasonable. However, because Ben talks about taking the Z component of the resultant vector I’m not 100% sure it is the same thing. I think it should be, because the angle in question we are talking about hasn’t changed, right? Anyone else have some thoughts on this?

Cheers,
James

Privacy & Terms