![]() Fire mouse when aiming at target (within a certain distance to center).Move mouse by that value (Won't immediatly get to it, requires more math to determine exact amount.Take that distance and multiply it by a scale value (one pixel moved of your mouse does not equal one pixel moved in game (2D plane does not have the same distance as a 3D space/ center of sphere to edge of sphere).Find distance between the center and your crosshair (center of screen, but implement tracking for recoil).Get the center of the contour's box from the x, y, width, and height. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |