I need to make a bad guy turn and face the actor on wakeup.... the trigger is simple but the trigonometry isn't... Should have paid more attention in maths class. something to do with vectors?
Yeah. Following is easy but I’m talking referencing an object’s position in relation to another and rotating that object towards it. Sin? Cosin? Mat4? (I mean really what is a mat4?) I’m sure I can google it but in case anyone had already done this would be ace to chat.