Want this question answered?
Be notified when an answer is posted
Chat with our AI personalities
You need to take the magnitude of the cross-product of two position vectors. For example, if you had points A, B, C, and D, you could take the cross product of AB and BC, and then take the magnitude of the resultant vector.
The dot product can be used as a half space test. A half space test can be used to determine if an object, lets say a zombie, is in front of the player (or camera) or behind it. If my player's forward vector is P and the vector from the player to the zombie (zombie's position - player's position) is Z, then dotting P and Z would give me the angle between the two vectors. If the angle is positive our player is facing the zombie, otherwise the zombie is behind us (never turn your back on a zombie!).
The square of the product
In transferring position you should measure your position or locate your position then bring it to the compass rose in order to get your position.
One position to the right.One position to the right.One position to the right.One position to the right.