IP Library Granted Patent US 12,586,332
Granted Patent B2
US 12,586,332 · App. 18/393,957 · Granted Mar 24, 2026

Method, apparatus, device and storage medium for manipulating virtual object

Inventors: Zexin Jiang (Beijing, CN); Haiyu Zhang (Beijing, CN)
Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
G06T19/20G06T7/70G06T2219/2016
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,586,332
App. No.
18/393,957
Granted
Mar 24, 2026
Kind
B2
Abstract

According to the disclosed embodiments, a method, apparatus, device, and storage medium for manipulating a virtual object are provided. The method includes determining a first position of a first manipulation device associated with the virtual environment and a second position of a second manipulation device associated with the virtual environment; determining first orientation information based on the first position and the second position; determining a rotation matrix associated with the virtual object rendered in the virtual environment based on the first orientation information and the second orientation information of the first manipulation device; and determining the pose of the virtual object in the virtual environment based on the rotation matrix. Therefore, the user can manipulate the virtual object in the virtual environment to perform expected and natural rotation.

Claims (55)

1 . A method for manipulating a virtual object, comprising:

determining a first position of a first manipulation device associated with a virtual environment and a second position of a second manipulation device associated with the virtual environment;

determining first orientation information based on the first position and the second position;

determining a rotation matrix associated with a virtual object rendered in the virtual environment based on the first orientation information and second orientation information of the first manipulation device; and

determining a pose of the virtual object in the virtual environment based on the rotation matrix.

2 . The method of claim 1 , wherein determining the first orientation information comprises:

based on the first position and the second position, determining a direction vector from the first position to the second position, as the first orientation information.

3 . The method of claim 2 , further comprising:

determining a forward vector of the first manipulation device as the second orientation information.

4 . The method of claim 3 , wherein determining a rotation matrix associated with a virtual object rendered in the virtual environment comprises:

performing orthogonalization processing on the direction vector and the forward vector to determine an orthogonalized direction vector and an orthogonalized forward vector; and

based on the orthogonalized direction vector and the orthogonalized forward vector, determining the rotation matrix.

5 . The method of claim 4 , wherein determining the rotation matrix comprises:

determining a cross product based on the orthogonalized direction vector and the orthogonalized forward vector; and

based on the orthogonalized direction vector, the orthogonalized forward vector and the cross product, determining the column vector of the rotation matrix respectively.

6 . The method of claim 5 , wherein a relative order of a first column vector corresponding to the orthogonalized direction vector, a second column vector corresponding to the orthogonalized forward vector and a third column vector corresponding to the cross product in the rotation matrix is determined based on a coordinate system of the virtual object.

7 . The method of claim 1 , wherein the virtual object is rendered in the virtual environment to be presented as being held by both hands.

8 . The method of claim 1 , further comprising:

receiving a predetermined interaction for the first manipulation device; and

triggering a virtual function associated with the virtual object in the virtual environment based on the predetermined interaction.

9 . An electronic device comprising:

at least one processing unit; and

at least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform a method comprising:

determining a first position of a first manipulation device associated with a virtual environment and a second position of a second manipulation device associated with the virtual environment;

determining first orientation information based on the first position and the second position;

determining a rotation matrix associated with a virtual object rendered in the virtual environment based on the first orientation information and second orientation information of the first manipulation device; and

determining a pose of the virtual object in the virtual environment based on the rotation matrix.

10 . The electronic device of claim 9 , wherein determining the first orientation information comprises:

based on the first position and the second position, determining a direction vector from the first position to the second position, as the first orientation information.

11 . The electronic device of claim 10 , further comprising:

determining a forward vector of the first manipulation device as the second orientation information.

12 . The electronic device of claim 11 , wherein determining a rotation matrix associated with a virtual object rendered in the virtual environment comprises:

performing orthogonalization processing on the direction vector and the forward vector to determine an orthogonalized direction vector and an orthogonalized forward vector; and

based on the orthogonalized direction vector and the orthogonalized forward vector, determining the rotation matrix.

13 . The electronic device of claim 12 , wherein determining the rotation matrix comprises:

determining a cross product based on the orthogonalized direction vector and the orthogonalized forward vector; and

based on the orthogonalized direction vector, the orthogonalized forward vector and the cross product, determining the column vector of the rotation matrix respectively.

14 . The electronic device of claim 13 , wherein a relative order of a first column vector corresponding to the orthogonalized direction vector, a second column vector corresponding to the orthogonalized forward vector and a third column vector corresponding to the cross product in the rotation matrix is determined based on a coordinate system of the virtual object.

15 . The electronic device of claim 9 , wherein the virtual object is rendered in the virtual environment to be presented as being held by both hands.

16 . The electronic device of claim 1 , further comprising:

receiving a predetermined interaction for the first manipulation device; and

triggering a virtual function associated with the virtual object in the virtual environment based on the predetermined interaction.

17 . A non-transitory computer readable storage medium having stored thereon a computer program executable by a processor to implement a method comprising:

determining a first position of a first manipulation device associated with a virtual environment and a second position of a second manipulation device associated with the virtual environment;

determining first orientation information based on the first position and the second position;

determining a rotation matrix associated with a virtual object rendered in the virtual environment based on the first orientation information and second orientation information of the first manipulation device; and

determining a pose of the virtual object in the virtual environment based on the rotation matrix.

18 . The non-transitory computer readable storage medium of claim 17 , further comprising:

determining a forward vector of the first manipulation device as the second orientation information.

19 . The non-transitory computer readable storage medium of claim 18 , wherein determining a rotation matrix associated with a virtual object rendered in the virtual environment comprises:

performing orthogonalization processing on the direction vector and the forward vector to determine an orthogonalized direction vector and an orthogonalized forward vector; and

based on the orthogonalized direction vector and the orthogonalized forward vector, determining the rotation matrix.

20 . The non-transitory computer readable storage medium of claim 19 , wherein determining the rotation matrix comprises:

determining a cross product based on the orthogonalized direction vector and the orthogonalized forward vector; and

based on the orthogonalized direction vector, the orthogonalized forward vector and the cross product, determining the column vector of the rotation matrix respectively.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2026
From: JIANG, ZEXIN
To: LEMON TECHNOLOGY(SHENZHEN)CO., LTD.
Reel/Frame 073864/0873 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 23, 2026
From: LEMON TECHNOLOGY(SHENZHEN)CO., LTD.
To: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
Reel/Frame 073864/0913 →
Priority Claims (1)
CN 202211716422.X · Dec 29, 2022 · national
Continuity (1)
Related Publication 20240221333A1 · Jul 4, 2024
References Cited (13)
US 20150258431A1 · Stafford · 2015 [cited by examiner]
US 20160098095A1 · Gonzalez-Banos · 2016 [cited by examiner]
US 20170329488A1 · Welker · 2017 [cited by examiner]
CN 108604121A · 2018 [cited by applicant]
CN 109960403A · 2019 [cited by applicant]
CN 108648238A · 2021 [cited by applicant]
CN 114022568A · 2022 [cited by applicant]
CN 115068948A · 2022 [cited by applicant]
CN 115167663A · 2022 [cited by applicant]
CN 115328304A · 2022 [cited by applicant]
CN 115494776A · 2022 [cited by applicant]
Krompiec et al. “Enhanced player interaction using motion controllers for first-person shooting games in virtual reality.” IEEE Access 7 (2019): 124548-124557. (Year: 2019). [cited by examiner]
Office Action for Chinese Patent Application No. 202211716422.X, mailed on May 16, 2025, 18 pages. [cited by applicant]