# US 2017/0323428 A1 · Method and terminal for implementing turning of virtual character

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0323428 A1
- Document ID: US20170323428A1
- Status: Published application
- Kind: A1
- Application number: 15/657,922
- Filed: 2017-07-24
- Published: 2017-11-09
- Earliest claimed: 2015-06-16
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: YONG TANG; CHANGYAN LIAO
- Web page: https://patentgrep.com/patent/US20170323428A1

## CPC

- G06T 3/60: Rotation of whole images or parts thereof
- A63F 13/44: involving timing of operations, e.g. performing an action within a time slot
- A63F 13/55: Controlling game characters or game objects based on the game progress
- A63F 2300/6607: for animating game characters, e.g. skeleton kinematics
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR

## Abstract

The present disclosure relates to a method and a terminal for implementing turning of a virtual character. The method includes: obtaining a turning angle of a virtual character; obtaining a preset fixed turning time; calculating an average angular velocity of the virtual character according to the turning angle and the preset fixed turning time; and controlling the virtual character to turn at the average angular velocity. According to the method for implementing turning of a virtual character turning is performed at a constant speed in a turning process, smooth turning can be implemented, stalling is avoided in the turning process, and picture fluency can be improved. When the turning angle is relatively large, the average angular velocity is high, and quick and smooth turning can be implemented; or when the turning angle is small, turning can also be implemented.

## Claims

### Claim 1

A method for implementing turning of a virtual character, comprising:
obtaining a turning angle of a virtual character;
obtaining a preset fixed turning time;
calculating an average angular velocity of the virtual character according to the turning angle and the preset fixed turning time; and
controlling the virtual character to turn at the average angular velocity.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining a turning angle of a virtual character comprises:
obtaining a start position, a turning direction, and an end position of the virtual character; and
obtaining the turning angle of the virtual character according to the start position, the turning direction, and the end position of the virtual character.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the obtaining a turning angle of a virtual character comprises:
obtaining a turning instruction generated by means of touch input, voice input, or gesture input; and
obtaining the turning angle of the virtual character according to the turning instruction.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the method further comprises:
recording and storing each turning time and a corresponding end position of the virtual character.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the method further comprises:
recording and storing the start position and the average angular velocity of the virtual character.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the method further comprises:
comparing periodically each turning time and a corresponding end position of the virtual character that are recorded locally with each turning time and a corresponding end position of the virtual character that are recorded in a server, when a network is connected; and
uploading each turning time and the corresponding end position of the virtual character that are recorded locally to the server, to update each turning time and the corresponding end position of the virtual character that are recorded in the server, if each turning time and the corresponding end position of the virtual character that are recorded locally are not the same as each turning time and the corresponding end position of the virtual character that are recorded in the server.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the calculating an average angular velocity of the virtual character according to the turning angle and the preset fixed turning time comprises: dividing the turning angle by the preset fixed turning time to obtain the average angular velocity of the virtual character.

### Claim 8 (depends on 2)

The method according to claim 2, wherein the controlling the virtual character to turn at the average angular velocity comprises: controlling the virtual character to turn at a constant speed of the average angular velocity, and stopping turning when the virtual character turns to the end position.

### Claim 9

A terminal, comprising:
a storage medium, and;
a processor, the storage medium storing an instruction, and when the instruction is executed by the processor to:
obtain a turning angle of a virtual character;
obtain a preset fixed turning time;
calculate an average angular velocity of the virtual character according to the turning angle and the preset fixed turning time; and
control the virtual character to turn at the average angular velocity.

### Claim 10 (depends on 9)

The terminal according to claim 9, wherein the obtaining a turning angle of a virtual character comprises:
obtaining a start position, a turning direction, and an end position of a virtual character; and
obtaining the turning angle of the virtual character according to the start position, the turning direction, and the end position of the virtual character.

### Claim 11 (depends on 9)

The terminal according to claim 9, wherein the obtaining a turning angle of a virtual character comprises:
obtaining a turning instruction generated by means of touch input, voice input, or gesture input; and
obtaining the turning angle of a virtual character according to the turning instruction.

### Claim 12 (depends on 11)

The terminal according to claim 11, wherein the processor of the terminal is further configured to:
record and store each turning time and a corresponding end position of the virtual character.

### Claim 13 (depends on 12)

The terminal according to claim 12, wherein the processor of the terminal is further configured to:
compare periodically each turning time and a corresponding end position of the virtual character that are recorded locally with each turning time and a corresponding end position of the virtual character that are recorded in a server, when a network is connected; and
upload each turning time and the corresponding end position of the virtual character that are recorded locally to the server, to update each turning time and the corresponding end position of the virtual character that are recorded in the server, if each turning time and the corresponding end position of the virtual character that are recorded locally are not the same as each turning time and the corresponding end position of the virtual character that are recorded in the server.

### Claim 14

A non-transitory computer-readable medium containing computer-executable program for, when being executed by a processor, performing a method for implementing turning of a virtual character, the method comprising:
obtaining a turning angle of a virtual character;
obtaining a preset fixed turning time;
calculating an average angular velocity of the virtual character according to the turning angle and the preset fixed turning time; and
controlling the virtual character to turn at the average angular velocity.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium according to claim 14, wherein the obtaining a turning angle of a virtual character comprises:
obtaining a start position, a turning direction, and an end position of the virtual character; and
obtaining the turning angle of the virtual character according to the start position, the turning direction, and the end position of the virtual character.

### Claim 16 (depends on 14)

The non-transitory computer-readable medium according to claim 14, wherein the obtaining a turning angle of a virtual character comprises:
obtaining a turning instruction generated by means of touch input, voice input, or gesture input; and
obtaining the turning angle of the virtual character according to the turning instruction.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium according to claim 15, wherein the method further comprises:
recording and storing each turning time and a corresponding end position of the virtual character.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium according to claim 17, wherein the method further comprises:
comparing periodically each turning time and a corresponding end position of the virtual character that are recorded locally with each turning time and a corresponding end position of the virtual character that are recorded in a server, when a network is connected; and
uploading each turning time and the corresponding end position of the virtual character that are recorded locally to the server, to update each turning time and the corresponding end position of the virtual character that are recorded in the server, if each turning time and the corresponding end position of the virtual character that are recorded locally are not the same as each turning time and the corresponding end position of the virtual character that are recorded in the server.
