Archived

This topic is now archived and is closed to further replies.

Cybertron

Fixed dot product problem!!!

Recommended Posts

Cybertron    122
Finally! I solved my dot product problem! Because it only goes up to 180 degrees there are 2 posible answers, one is wrong All I do is calculate the distance between the projectile, with the sin and cos of the angle added to it, and the target Which ever angle was the closest IS TEH WINNAR!! thanks to all the guys here who helped me with dot products, and I hope you find my solution usefull

Share this post


Link to post
Share on other sites