# US 2025/0229181 A1 · Computing direction parameters of rotating objects

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

- Number: US 2025/0229181 A1
- Document ID: US20250229181A1
- Status: Published application
- Kind: A1
- Application number: 19/096,275
- Filed: 2025-03-31
- Published: 2025-07-17
- Earliest claimed: 2023-02-21
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Jinfeng YE; Hao FU
- Web page: https://patentgrep.com/patent/US20250229181A1

## CPC

- A63F 13/577: using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
- A63F 13/52: involving aspects of the displayed game scene
- A63F 13/57: Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game (A63F13/56 takes precedence)
- G06T 13/20: Three-dimensional [3D] animation
- G06T 15/00: Three-dimensional [3D] image rendering
- A63F 2300/643: by determining the impact between objects, e.g. collision detection
- A63F: CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

In a data processing method, a first direction parameter and a rotation angular velocity of a target object in a first game frame, and an inter-frame interval duration between the first game frame and a second game frame are obtained. The second game frame is rendered after the first game frame. A target rotation angle of the target object is obtained based on the rotation angular velocity and the inter-frame interval duration. A second direction parameter of the target object in the second game frame is determined based on the target rotation angle and the first direction parameter. Apparatus and non-transitory computer-readable storage medium counterpart embodiments are also contemplated.

## Claims

### Claim 1

A data processing method, comprising:
obtaining a first direction parameter and a rotation angular velocity of a target object in a first game frame, and an inter-frame interval duration between the first game frame and a second game frame, the second game frame being rendered after the first game frame;
obtaining a target rotation angle of the target object based on the rotation angular velocity and the inter-frame interval duration; and
determining a second direction parameter of the target object in the second game frame based on the target rotation angle and the first direction parameter.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the obtaining the target rotation angle comprises:
generating a three-dimensional angular velocity vector of the target object based on the rotation angular velocity;
determining a three-dimensional rotation angle vector of the target object based on a product of the three-dimensional angular velocity vector and the inter-frame interval duration;
obtaining a quaternion rotation angle vector of the target object based on the three-dimensional rotation angle vector of the target object; and
determining the quaternion rotation angle vector as the target rotation angle of the target object.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the obtaining the quaternion rotation angle vector comprises:
converting the three-dimensional rotation angle vector of the target object into a four-dimensional rotation angle vector; and
performing an operation with the four-dimensional rotation angle vector as an exponent and a natural constant as a base to obtain the quaternion rotation angle vector of the target object.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the performing the operation with the four-dimensional rotation angle vector comprises:
performing modulo processing on the four-dimensional rotation angle vector, to obtain a real number angle of the target object;
performing unitization processing on the four-dimensional rotation angle vector to obtain a unit four-dimensional rotation angle vector;
determining a product of the unit four-dimensional rotation angle vector and a sine value of the real number angle as a candidate rotation angle of the target object; and
determining a sum of the candidate rotation angle of the target object and a cosine value of the real number angle as the quaternion rotation angle vector of the target object.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the determining the second direction parameter of the target object comprises:
generating a first quaternion direction vector reflecting the first direction parameter of the target object;
determining a product of the first quaternion direction vector and the quaternion rotation angle vector corresponding to the target rotation angle as a second quaternion direction vector of the target object in the second game frame; and
determining the second quaternion direction vector as the second direction parameter of the target object in the second game frame.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
obtaining a movement parameter of the target object and a first position of the target object in the first game frame;
determining a second position of the target object in the second game frame based on the movement parameter, the inter-frame interval duration, and the first position; and
rendering the target object based on the second position and the second direction parameter to obtain the second game frame including the target object.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the determining the second position of the target object comprises:
determining a product of a movement speed in the movement parameter and the inter-frame interval duration as a movement distance of the target object; and
determining the second position of the target object based on a movement direction in the movement parameter, the movement distance, and the first position.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the rendering the target object comprises:
when at least two target objects are provided, performing collision detection on the at least two target objects based on respective second positions of the at least two target objects to obtain a detection result;
adjusting, based on the detection result, the second direction parameter of each of the at least two target objects to obtain respective third direction parameters; and
rendering the at least two target objects based on the respective third direction parameters and the respective second positions to obtain the second game frame.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the adjusting the second direction parameter comprises:
when the detection result indicates that a first target object and a second target object of the at least two target objects collide with each other, obtaining an object category of the first target object and an object category of the second target object;
adjusting the second direction parameter of the first target object based on the object category of the first target object and the object category of the second target object to obtain a third direction parameter of the first target object; and
adjusting the second direction parameter of the second target object based on the object category of the first target object and the object category of the second target object to obtain a third direction parameter of the second target object.

### Claim 10

A data processing apparatus, comprising:
processing circuitry configured to:
obtain a first direction parameter and a rotation angular velocity of a target object in a first game frame, and an inter-frame interval duration between the first game frame and a second game frame, the second game frame being rendered after the first game frame;
obtain a target rotation angle of the target object based on the rotation angular velocity and the inter-frame interval duration; and
determine a second direction parameter of the target object in the second game frame based on the target rotation angle and the first direction parameter.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processing circuitry is configured to:
generate a three-dimensional angular velocity vector of the target object based on the rotation angular velocity;
determine a three-dimensional rotation angle vector of the target object based on a product of the three-dimensional angular velocity vector and the inter-frame interval duration;
obtain a quaternion rotation angle vector of the target object based on the three-dimensional rotation angle vector of the target object; and
determine the quaternion rotation angle vector as the target rotation angle of the target object.

### Claim 12 (depends on 11)

The apparatus according to claim 11, wherein the processing circuitry is configured to:
convert the three-dimensional rotation angle vector of the target object into a four-dimensional rotation angle vector; and
perform an operation with the four-dimensional rotation angle vector as an exponent and a natural constant as a base to obtain the quaternion rotation angle vector of the target object.

### Claim 13 (depends on 12)

The apparatus according to claim 12, wherein the processing circuitry is configured to:
perform modulo processing on the four-dimensional rotation angle vector, to obtain a real number angle of the target object;
perform unitization processing on the four-dimensional rotation angle vector to obtain a unit four-dimensional rotation angle vector;
determine a product of the unit four-dimensional rotation angle vector and a sine value of the real number angle as a candidate rotation angle of the target object; and
determine a sum of the candidate rotation angle of the target object and a cosine value of the real number angle as the quaternion rotation angle vector of the target object.

### Claim 14 (depends on 11)

The apparatus according to claim 11, wherein the processing circuitry is configured to:
generate a first quaternion direction vector reflecting the first direction parameter of the target object;
determine a product of the first quaternion direction vector and the quaternion rotation angle vector corresponding to the target rotation angle as a second quaternion direction vector of the target object in the second game frame; and
determine the second quaternion direction vector as the second direction parameter of the target object in the second game frame.

### Claim 15 (depends on 10)

The apparatus according to claim 10, wherein the processing circuitry is configured to:
obtain a movement parameter of the target object and a first position of the target object in the first game frame;
determine a second position of the target object in the second game frame based on the movement parameter, the inter-frame interval duration, and the first position; and
render the target object based on the second position and the second direction parameter to obtain the second game frame including the target object.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the processing circuitry is configured to:
determine a product of a movement speed in the movement parameter and the inter-frame interval duration as a movement distance of the target object; and
determine the second position of the target object based on a movement direction in the movement parameter, the movement distance, and the first position.

### Claim 17 (depends on 15)

The apparatus according to claim 15, wherein the processing circuitry is configured to:
when at least two target objects are provided, perform collision detection on the at least two target objects based on respective second positions of the at least two target objects to obtain a detection result;
adjust, based on the detection result, the second direction parameter of each of the at least two target objects to obtain respective third direction parameters; and
render the at least two target objects based on the respective third direction parameters and the respective second positions to obtain the second game frame.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the processing circuitry is configured to:
when the detection result indicates that a first target object and a second target object of the at least two target objects collide with each other, obtain an object category of the first target object and an object category of the second target object;
adjust the second direction parameter of the first target object based on the object category of the first target object and the object category of the second target object to obtain a third direction parameter of the first target object; and
adjust the second direction parameter of the second target object based on the object category of the first target object and the object category of the second target object to obtain a third direction parameter of the second target object.

### Claim 19

A non-transitory computer-readable storage medium storing instructions which, when executed by a processor, cause the processor to perform:
obtaining a first direction parameter and a rotation angular velocity of a target object in a first game frame, and an inter-frame interval duration between the first game frame and a second game frame, the second game frame being rendered after the first game frame;
obtaining a target rotation angle of the target object based on the rotation angular velocity and the inter-frame interval duration; and
determining a second direction parameter of the target object in the second game frame based on the target rotation angle and the first direction parameter.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium according to claim 19, wherein the obtaining the target rotation angle comprises:
generating a three-dimensional angular velocity vector of the target object based on the rotation angular velocity;
determining a three-dimensional rotation angle vector of the target object based on a product of the three-dimensional angular velocity vector and the inter-frame interval duration;
obtaining a quaternion rotation angle vector of the target object based on the three-dimensional rotation angle vector of the target object; and
determining the quaternion rotation angle vector as the target rotation angle of the target object.
