The invention discloses a position service and
augmented reality technology-based role positioning capturing method. The position service and
augmented reality technology-based role positioning capturing method comprises the following steps: firstly, acquiring coordinates and map data by a
client, and transmitting the coordinates to a
server; secondly, generating role information in a set range by the
server through the acquired coordinates, and transmitting the coordinate information of the generated role to the
client; thirdly, detecting whether the current coordinates are in a role coordinate range returned by the
server by the
client, if so, entering the next step, and otherwise, returning to the first next; fourthly, establishing a virtual scene, starting a camera of mobile equipment, acquiring
gyroscope data of the camera of the mobile equipment, and
synchronizing the
gyroscope data to the camera of the virtual scene; fifthly, simulating collision in the virtual scene by utilizing a physical engine to capture a role, and transmitting a result to the server. When the position service and
augmented reality technology-based role positioning capturing method is applied to a game, the intuition and the interestingness of the game can be improved, so that the popularization and application of an online game on the mobile equipment are facilitated.