Patent ID: 11872483
Assignee: SHANGHAI LILITH NETWORK TECHNOLOGY COMPANY LIMITED
Field: Furniture, games (Other fields)
Classification: CPC A | IPC A

Claim 2:
3. The game object control system according to claim 2, wherein,
when the battle management module controls the object group and the game object to move, calculating whether a movement distance between the current position information of the game object and the second target position is less than a preset distance;
when the moving distance between the current position information of the game object and the second target position is greater than the preset distance, directly changing the current position information to the second target position;
when the moving distance between the current position information of the game object and the second target position is less than the preset distance, determining whether an included angle between a vector in which the second moving direction is located and a vector in which the game object and the second target position are located is less than 90°;
when the included angle between the vector in which the second moving direction is located and the vector in which the game object and the second target position are located is less than 90°, controlling the second moving speed and a distance between the current position information and the second target position in a directly proportional manner based on the correction constant for the second speed; and
when the included angle between the vector in which the second moving direction is located and the vector in which the game object and the second target position are located is greater than or equal to 90°, controlling the second moving speed and a distance between the current position information and the second target position in an inversely proportional manner based on the correction constant for the second speed.