CPC G06T 19/20 (2013.01) [G06F 3/017 (2013.01); G06F 3/0346 (2013.01); G06F 3/04845 (2013.01); G06T 19/006 (2013.01)] | 15 Claims |
1. A computer-implemented method, comprising:
receiving, via a client device, a first user input associated with a first location in an extended reality (XR) environment and a second user input associated with a second location in the XR environment;
identifying, based on the first location and the second location, a virtual object positioned at a third location in the XR environment;
identifying a plurality of reference axes of the virtual object based on an orientation of a virtual camera associated with the virtual object;
receiving a user selection of one of the plurality of reference axes as a rotation axis around which the virtual object is rotated;
identifying the user selected axis from the plurality of reference axes as the rotation axis based on the user selection;
receiving, via the client device, a third user input associated with a fourth location in the XR environment and a fourth user input associated with a fifth location in the XR environment;
comparing the fourth location and the fifth location with the first location and the second location to determine a rotation angle by which to rotate the virtual object;
and
rotating the virtual object about the user selected axis by the rotation angle.
|