Virtual vehicle control method in virtual scene, computer device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorsXinlong Huang, Yu Wang
Life of this patent
Estimating the term…
Abstract
A virtual vehicle control method in a virtual scene, performed by a terminal, is provided. The method includes providing a display interface of an application program, the display interface including a scene picture of the virtual scene, and the virtual scene including a virtual vehicle; obtaining a moving speed of the virtual vehicle; and adjusting, based on the moving speed of the virtual vehicle being greater than a moving speed threshold, the scene picture to a picture of the virtual vehicle being observed in the virtual scene by using a camera model in a predetermined viewing angle direction, the camera model being located at a position with respect to the virtual vehicle.
Claims20
A virtual vehicle control method in a virtual scene, performed by a terminal, the method comprising:
- providing a display interface of an application program, the display interface comprising a scene picture of the virtual scene, and the virtual scene comprising a virtual vehicle;
- obtaining a moving speed of the virtual vehicle;
- and
- adjusting, based on the moving speed of the virtual vehicle being greater than a moving speed threshold, the scene picture to a picture of the virtual vehicle being observed in the virtual scene by using a camera model in a predetermined viewing angle direction, the camera model being located at a position with respect to the virtual vehicle,
- wherein the display interface further comprises at least one primary virtual control that is overlaid on the scene picture, and the method further comprises:
- detecting a touch and slide operation that slides to a target point on the at least one primary virtual control;
- obtaining a virtual throttle opening of the virtual vehicle according to one of a directional angle and a transverse offset distance of the target point relative to a central position of the at least one primary virtual control;
- and
- controlling the virtual vehicle to move according to the virtual throttle opening of the virtual vehicle.
A virtual vehicle control method in a virtual scene, performed by a terminal, the method comprising:
- providing a display interface of an application program, the display interface comprising a scene picture of the virtual scene and at least one primary virtual control, the virtual scene comprising a virtual vehicle and the at least one primary virtual control being overlaid on the scene picture;
- detecting a touch and slide operation that slides to a target point on the at least one primary virtual control;
- obtaining a virtual throttle opening of the virtual vehicle according to one of a directional angle and a transverse offset distance of the target point relative to a central position of the at least one primary virtual control;
- and
- controlling the virtual vehicle to move according to the virtual throttle opening of the virtual vehicle.
A terminal, comprising:
- at least one memory configured to store program code;
- and
- at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising:
- interface providing code configured to cause at least one of the at least one processor to provide a display interface of an application program, the display interface comprising a scene picture of a virtual scene and at least one primary virtual control, the virtual scene comprising a virtual vehicle and the at least one primary virtual control being overlaid on the scene picture;
- detection code configured to cause at least one of the at least one processor to detect a touch and slide operation that slides to a target point on the at least one primary virtual control;
- first obtaining code configured to cause at least one of the at least one processor to obtain a virtual throttle opening of the virtual vehicle according to one of a directional angle and a transverse offset distance of the target point relative to a central position of the at least one primary virtual control;
- and
- control code configured to cause at least one of the at least one processor to control the virtual vehicle to move according to the virtual throttle opening of the virtual vehicle.
Dependencies are inferred from the claim text.